Code

[PATCH] git on OpenBSD
authorHan Boetes <han@mijncomputer.nl>
Sat, 1 Oct 2005 06:23:26 +0000 (08:23 +0200)
committerJunio C Hamano <junkio@cox.net>
Sun, 2 Oct 2005 07:00:53 +0000 (00:00 -0700)
iconv is installed in /usr/local.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile

index e7f3d1ffca1bba7736202cc3c02a8d99e22b51b3..79cafd71712425d38f8cb5974a2768b76e3a542e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -175,6 +175,10 @@ endif
 ifneq (,$(findstring arm,$(shell uname -m)))
        ARM_SHA1 = YesPlease
 endif
+ifeq ($(shell uname -s),OpenBSD)
+       NEEDS_LIBICONV = YesPlease
+       PLATFORM_DEFINES += -I/usr/local/include -L/usr/local/lib
+endif
 
 ifndef NO_CURL
        ifdef CURLDIR