# [PATCH] add freebsd support in Makefile

1 messages from 2006-01-26 to 2006-01-26. Participants: Alecs King.
Thread: https://gitlist.dev/t/3160

## Alecs King, 2006-01-26 18:04

Subject: [PATCH] add freebsd support in Makefile
Message-ID: <20060126180430.GA29593@alc.ourbox.net>
URL: https://gitlist.dev/e/20060126180430.GA29593%40alc.ourbox.net

```
fbsd needs iconv and third party lib/headers are inside /usr/local

Signed-off-by: Alecs King <alecsk@gmail.com>

e3b0db75ae3521b979a0b7ab115abdfab24b3111
diff --git a/Makefile b/Makefile
index 2e95353..6910448 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

-- 
Alecs King

```
