aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlecs King <alecsk@gmail.com>2006-01-27 02:04:30 +0800
committerJunio C Hamano <junkio@cox.net>2006-01-26 18:14:40 -0800
commitb3bf974cab4569221b5a1249d1a692e7190896f8 (patch)
treec562e5507420d0bd5685150897d83a4f10b979bf /Makefile
parent374dfaa2e39d04a4f1f63d1cb8d322d9db07c73a (diff)
downloadgit-b3bf974cab4569221b5a1249d1a692e7190896f8.tar.gz
git-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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2e953531a..6910448ef 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