summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Alecs King <alecsk@gmail.com>2006-01-27 02:04:30 +0800
committerLibravatar Junio C Hamano <junkio@cox.net>2006-01-26 18:14:40 -0800
commitb3bf974cab4569221b5a1249d1a692e7190896f8 (patch)
treec562e5507420d0bd5685150897d83a4f10b979bf
parentMake GIT-VERSION-GEN tolerate missing git describe command again (diff)
downloadtgif-b3bf974cab4569221b5a1249d1a692e7190896f8.tar.xz
Add freebsd support in Makefile
Needs iconv and third party lib/headers are inside /usr/local Signed-off-by: Alecs King <alecsk@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2e953531af..6910448ef2 100644
--- a/Makefile
+++ b/Makefile
@@ -251,6 +251,11 @@ ifeq ($(uname_O),Cygwin)
NO_IPV6 = YesPlease
X = .exe
endif
+ifeq ($(uname_S),FreeBSD)
+ NEEDS_LIBICONV = YesPlease
+ ALL_CFLAGS += -I/usr/local/include
+ ALL_LDFLAGS += -L/usr/local/lib
+endif
ifeq ($(uname_S),OpenBSD)
NO_STRCASESTR = YesPlease
NEEDS_LIBICONV = YesPlease