]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
NetBSD build doesn't always find libncurses (bug #2560)
authorRussell Bryant <russell@russellbryant.com>
Sun, 3 Oct 2004 18:37:37 +0000 (18:37 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sun, 3 Oct 2004 18:37:37 +0000 (18:37 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@3901 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index 10483c3553942a14538eb12d055f15939ab11128..652afb37ab846c2eeb5401bb5905895f146750c4 100755 (executable)
--- 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