[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 e7f3d1f..79cafd7 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