Add freebsd support in Makefile
authorAlecs King <alecsk@gmail.com>
Thu, 26 Jan 2006 18:04:30 +0000 (02:04 +0800)
committerJunio C Hamano <junkio@cox.net>
Fri, 27 Jan 2006 02:14:40 +0000 (18:14 -0800)
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>
Makefile
index 2e953531af8135f3b15225c07cef70b078f8c21a..6910448ef2a9c292567b7f10028aa3da72a32f67 100644 (file)
--- 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