From: Russell Bryant Date: Sun, 3 Oct 2004 18:37:37 +0000 (+0000) Subject: NetBSD build doesn't always find libncurses (bug #2560) X-Git-Tag: 1.0.11.1~459 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97d664a1288983d75b497c104d3a36437ccc90ff;p=thirdparty%2Fasterisk.git NetBSD build doesn't always find libncurses (bug #2560) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@3901 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/Makefile b/Makefile index 10483c3553..652afb37ab 100755 --- a/Makefile +++ b/Makefile @@ -146,7 +146,7 @@ endif # FreeBSD ifeq (${OSARCH},NetBSD) CFLAGS+=-pthread -INCLUDE+=-I/usr/local/include +INCLUDE+=-I/usr/local/include -I/usr/pkg/include endif ifeq (${OSARCH},OpenBSD) @@ -197,7 +197,7 @@ ifeq (${OSARCH},FreeBSD) LIBS+=-lcrypto endif ifeq (${OSARCH},NetBSD) -LIBS+=-lpthread -lcrypto -lm -L/usr/local/lib -lncurses +LIBS+=-lpthread -lcrypto -lm -L/usr/local/lib -L/usr/pkg/lib -lncurses endif ifeq (${OSARCH},OpenBSD) LIBS=-lcrypto -lpthread -lm -lncurses