diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2007-01-31 14:09:55 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2007-01-31 14:09:55 +0000 |
commit | eb81a88093e7d71530eebb2957f8ba4317b26ee6 (patch) | |
tree | 9290c97700f22b8ed6b87a10fda7d195dac09f04 /security/labrea | |
parent | e6b247dce1d9f6355a583ef6269fdbba110eaea8 (diff) | |
download | ports-eb81a88093e7d71530eebb2957f8ba4317b26ee6.tar.gz ports-eb81a88093e7d71530eebb2957f8ba4317b26ee6.zip |
Notes
Diffstat (limited to 'security/labrea')
-rw-r--r-- | security/labrea/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/security/labrea/Makefile b/security/labrea/Makefile index 883d3e05dab7..3084e9dd2ffe 100644 --- a/security/labrea/Makefile +++ b/security/labrea/Makefile @@ -7,7 +7,7 @@ PORTNAME= LaBrea PORTVERSION= 2.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://freebsd.rogness.net/ports/labrea/ DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/g} @@ -16,7 +16,15 @@ EXTRACT_SUFX= .tgz MAINTAINER= nick@rogness.net COMMENT= Security tarpit defense tool -BUILD_DEPENDS= libnet*<=1.1.0,1:${PORTSDIR}/net/libnet10 +BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10 + +LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config + +post-patch: + @${REINPLACE_CMD} -e \ + 's|libnet-config|${LIBNET_CONFIG}|; \ + s|--defines|& --cflags|' \ + ${WRKSRC}/${MAKEFILE} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/LaBrea ${PREFIX}/bin |