summaryrefslogtreecommitdiffstats
path: root/security/labrea
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-01-31 14:09:55 +0000
committerpav <pav@FreeBSD.org>2007-01-31 14:09:55 +0000
commitccd12ccd577604add511aad4ea4e71c32b3e2f06 (patch)
tree25b833c135dd7f2323045f819dc7121e621103fc /security/labrea
parente2f15954f8960a944e8d5b2c28982257d8c6e91f (diff)
downloadFreeBSD-ports-ccd12ccd577604add511aad4ea4e71c32b3e2f06.zip
FreeBSD-ports-ccd12ccd577604add511aad4ea4e71c32b3e2f06.tar.gz
- Patch net/libnet* to versioned libraries and header files, so they can
coexist PR: ports/103861 Submitted by: alepulver Tested by: pointyhat With hat: portmgr
Diffstat (limited to 'security/labrea')
-rw-r--r--security/labrea/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/security/labrea/Makefile b/security/labrea/Makefile
index 883d3e0..3084e9d 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
OpenPOWER on IntegriCloud