From b3bf974cab4569221b5a1249d1a692e7190896f8 Mon Sep 17 00:00:00 2001 From: Alecs King Date: Fri, 27 Jan 2006 02:04:30 +0800 Subject: [PATCH] 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 --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.11.0