summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHan Boetes <han@mijncomputer.nl>2005-10-01 06:23:26 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-10-02 07:00:53 (GMT)
commit18c5a52537173b12bd78ce25c6dd524d147e87a7 (patch)
tree0dc8464f95579f69328f1fcea303a275c8446ec5
parent5cd5ace72bf8944c920a20a7b98c82f7ed663d8a (diff)
downloadgit-18c5a52537173b12bd78ce25c6dd524d147e87a7.zip
git-18c5a52537173b12bd78ce25c6dd524d147e87a7.tar.gz
git-18c5a52537173b12bd78ce25c6dd524d147e87a7.tar.bz2
[PATCH] git on OpenBSD
iconv is installed in /usr/local. Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e7f3d1f..79cafd7 100644
--- 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