aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/packit
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2016-03-20 10:53:08 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2016-03-20 10:53:08 +0000
commit654ccc6aac9c7681ed39c2cd2d10d8360ec7a9bc (patch)
treec30aa05ffe4be67ca3bb38317073b7e6603daa7c /net-mgmt/packit
parent3dc362ac88ab73d6f0b3635628a59d9597e6da4e (diff)
downloadports-654ccc6aac9c7681ed39c2cd2d10d8360ec7a9bc.tar.gz
ports-654ccc6aac9c7681ed39c2cd2d10d8360ec7a9bc.zip
Install net/libnet headers and libraries back in the location where other
ports expect it. The files were put in a different location to avoid a conflict with net/libnet10 but this port has been removed a while ago now. PR: 208122 Exp-run by: antoine Approved by: portmgr (antoine)
Notes
Notes: svn path=/head/; revision=411432
Diffstat (limited to 'net-mgmt/packit')
-rw-r--r--net-mgmt/packit/Makefile9
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>