diff options
author | joerg <joerg@pkgsrc.org> | 2016-04-03 12:44:54 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2016-04-03 12:44:54 +0000 |
commit | 5b8ac01b7a8bde9327865655dfc0a94f9e138787 (patch) | |
tree | ab981b42d8c500348dc616729755c133fb8a508b /net/ettercap-NG/Makefile | |
parent | 3127ea8c8c21159c3857ee8b8b75a1162c1ea0e7 (diff) | |
download | pkgsrc-5b8ac01b7a8bde9327865655dfc0a94f9e138787.tar.gz |
Include PREFIX/lib via CPPFLAGS, otherwise libltdl won't get picked up
while trying to look for libpcap.
Diffstat (limited to 'net/ettercap-NG/Makefile')
-rw-r--r-- | net/ettercap-NG/Makefile | 5 |
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} |