summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg>2016-04-03 12:44:54 +0000
committerjoerg <joerg>2016-04-03 12:44:54 +0000
commitd880c9ec7cfa22e125da98cdd86dbbe69aad8fb7 (patch)
treeab981b42d8c500348dc616729755c133fb8a508b /net
parente70d222fee1dd609694f06a1290cde6755fef58f (diff)
downloadpkgsrc-d880c9ec7cfa22e125da98cdd86dbbe69aad8fb7.tar.gz
Include PREFIX/lib via CPPFLAGS, otherwise libltdl won't get picked up
while trying to look for libpcap.
Diffstat (limited to 'net')
-rw-r--r--net/ettercap-NG/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/ettercap-NG/Makefile b/net/ettercap-NG/Makefile
index f0198096ae6..5158a78b545 100644
--- a/net/ettercap-NG/Makefile
+++ b/net/ettercap-NG/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2016/03/05 11:29:04 jperkin Exp $
+# $NetBSD: Makefile,v 1.25 2016/04/03 12:44:54 joerg Exp $
DISTNAME= ettercap-NG-0.7.3
PKGREVISION= 13
@@ -16,12 +16,15 @@ CONFLICTS= ettercap-[0-9]*
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.8.1
+.include "../../mk/bsd.prefs.mk"
+
GNU_CONFIGURE= YES
PTHREAD_OPTS+= require
USE_LIBTOOL= YES
USE_NCURSES= YES # ncurses.h menu.h panel.h form.h
USE_OLD_DES_API= YES
CPPFLAGS+= -L${BUILDLINK_PREFIX.libnet11}/lib/libnet11
+CPPFLAGS+= -L${PREFIX}/lib
CONFIGURE_ARGS+= --with-libnet=${BUILDLINK_PREFIX.libnet11}
CONFIGURE_ARGS+= --with-libpcap=${BUILDLINK_PREFIX.libpcap}