diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2016-03-20 10:53:08 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2016-03-20 10:53:08 +0000 |
commit | 654ccc6aac9c7681ed39c2cd2d10d8360ec7a9bc (patch) | |
tree | c30aa05ffe4be67ca3bb38317073b7e6603daa7c /net-mgmt/packit | |
parent | 3dc362ac88ab73d6f0b3635628a59d9597e6da4e (diff) | |
download | ports-654ccc6aac9c7681ed39c2cd2d10d8360ec7a9bc.tar.gz ports-654ccc6aac9c7681ed39c2cd2d10d8360ec7a9bc.zip |
Notes
Diffstat (limited to 'net-mgmt/packit')
-rw-r--r-- | net-mgmt/packit/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/net-mgmt/packit/Makefile b/net-mgmt/packit/Makefile index 59c364cd464a..fc5df9d877b9 100644 --- a/net-mgmt/packit/Makefile +++ b/net-mgmt/packit/Makefile @@ -14,13 +14,12 @@ COMMENT= Network auditing tool LIB_DEPENDS= libnet.so:${PORTSDIR}/net/libnet GNU_CONFIGURE= yes -CPPFLAGS+= `${LIBNET_CONFIG} --defines` `${LIBNET_CONFIG} --cflags` +CPPFLAGS+= -I${LOCALBASE}/include +LIBS+= -L${LOCALBASE}/lib PLIST_FILES= sbin/packit \ man/man8/packit.8.gz -LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config - .if defined(WITHOUT_CAPTURE) CONFIGURE_ARGS+= --without-capture .endif @@ -28,8 +27,4 @@ CONFIGURE_ARGS+= --without-capture CONFIGURE_ARGS+= --without-injection .endif -post-patch: - @${REINPLACE_CMD} -e 's|-lnet|`${LIBNET_CONFIG} --libs`|' \ - ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} - .include <bsd.port.mk> |