{"thread":{"id":"3160","subject":"[PATCH] add freebsd support in Makefile","startedAt":"2006-01-26T18:04:30Z","lastAt":"2006-01-26T18:04:30Z","messageCount":1,"participants":["Alecs King"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"15155","messageId":"20060126180430.GA29593@alc.ourbox.net","threadId":"3160","inReplyTo":null,"subject":"[PATCH] add freebsd support in Makefile","fromName":"Alecs King","fromEmail":"alecsk@gmail.com","sentAt":"2006-01-26T18:04:30Z","receivedAt":"2006-01-26T18:04:30Z","isPatch":true,"sender":{"key":"alecsk@gmail.com","avatar":"https://avatars.githubusercontent.com/u/84553?v=4"},"body":"fbsd needs iconv and third party lib/headers are inside /usr/local\n\nSigned-off-by: Alecs King <alecsk@gmail.com>\n\ne3b0db75ae3521b979a0b7ab115abdfab24b3111\ndiff --git a/Makefile b/Makefile\nindex 2e95353..6910448 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -251,6 +251,11 @@ ifeq ($(uname_O),Cygwin)\n \tNO_IPV6 = YesPlease\n \tX = .exe\n endif\n+ifeq ($(uname_S),FreeBSD)\n+\tNEEDS_LIBICONV = YesPlease\n+\tALL_CFLAGS += -I/usr/local/include\n+\tALL_LDFLAGS += -L/usr/local/lib\n+endif\n ifeq ($(uname_S),OpenBSD)\n \tNO_STRCASESTR = YesPlease\n \tNEEDS_LIBICONV = YesPlease\n\n-- \nAlecs King\n"}]}