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
This commit is contained in:
Russell Bryant
2004-10-03 18:37:37 +00:00
parent 04bcd2ff23
commit 97d664a128

View File

@@ -146,7 +146,7 @@ endif # FreeBSD
ifeq (${OSARCH},NetBSD) ifeq (${OSARCH},NetBSD)
CFLAGS+=-pthread CFLAGS+=-pthread
INCLUDE+=-I/usr/local/include INCLUDE+=-I/usr/local/include -I/usr/pkg/include
endif endif
ifeq (${OSARCH},OpenBSD) ifeq (${OSARCH},OpenBSD)
@@ -197,7 +197,7 @@ ifeq (${OSARCH},FreeBSD)
LIBS+=-lcrypto LIBS+=-lcrypto
endif endif
ifeq (${OSARCH},NetBSD) 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 endif
ifeq (${OSARCH},OpenBSD) ifeq (${OSARCH},OpenBSD)
LIBS=-lcrypto -lpthread -lm -lncurses LIBS=-lcrypto -lpthread -lm -lncurses