git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git on OpenBSD
@ 2005-10-01  6:23 Han Boetes
  2005-10-01  7:15 ` Junio C Hamano
  2005-10-01  9:57 ` Martin Langhoff
  0 siblings, 2 replies; 3+ messages in thread
From: Han Boetes @ 2005-10-01  6:23 UTC (permalink / raw)
  To: git

Hi,

I just managed to get git compile on OpenBSD,

I modified the Makefile a bit to make it work. I suppose these
modifications will make it work on Free- and NetBSD as well, but
I haven't tested it so I'm not sure.

iconv is installed in /usr/local that's why I had to add it to the
searchpath.


diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -162,6 +162,10 @@ ifeq ($(shell uname -s),Darwin)
 	NEEDS_SSL_WITH_CRYPTO = YesPlease
 	NEEDS_LIBICONV = YesPlease
 endif
+ifeq ($(shell uname -s),OpenBSD)
+	NEEDS_LIBICONV = YesPlease
+	PLATFORM_DEFINES += -I/usr/local/include -L/usr/local/lib
+endif
 ifeq ($(shell uname -s),SunOS)
 	NEEDS_SOCKET = YesPlease
 	NEEDS_NSL = YesPlease




# Han
-- 
Lbh unir whfg ivbyngrq gur Qvtvgny Zvyyraavhz Pbclevtug Npg  ol  oernxvat  gur
cebgrpgvba bs pbclevtugrq zngrevny. Vs lbh ner abg n pvgvmra  be  erfvqrag  bs
gur HFN, lbh evfx orvat vzcevfbarq naq uryq jvgubhg onvy sbe hc gb  gjb  jrrxf
hcba ragel gb gur HFN (c) Copyright 2001 by Hartmann Schaffer (signature only)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-01  9:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-01  6:23 git on OpenBSD Han Boetes
2005-10-01  7:15 ` Junio C Hamano
2005-10-01  9:57 ` Martin Langhoff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).