From: Alecs King Date: Thu, 26 Jan 2006 18:04:30 +0000 (+0800) Subject: Add freebsd support in Makefile X-Git-Tag: v1.2.0~103 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b3bf974cab4569221b5a1249d1a692e7190896f8;p=git.git Add freebsd support in Makefile Needs iconv and third party lib/headers are inside /usr/local Signed-off-by: Alecs King Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index 2e953531..6910448e 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