aboutsummaryrefslogtreecommitdiff
path: root/net/py-libnet
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-23 06:04:01 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-23 06:04:01 +0000
commite28630ead26369af9ef1d199ae48177e0e2486ae (patch)
treec38809fe289a3882c872d743e8cfe274cca486f2 /net/py-libnet
parentb53889dd48ab786160430cf4dc54b1562318d476 (diff)
downloadports-e28630ead26369af9ef1d199ae48177e0e2486ae.tar.gz
ports-e28630ead26369af9ef1d199ae48177e0e2486ae.zip
Notes
Diffstat (limited to 'net/py-libnet')
-rw-r--r--net/py-libnet/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/py-libnet/Makefile b/net/py-libnet/Makefile
index 30e60095640e..754fe07aedac 100644
--- a/net/py-libnet/Makefile
+++ b/net/py-libnet/Makefile
@@ -19,12 +19,13 @@ MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= swig:${PORTSDIR}/devel/SWIG \
${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
+USE_REINPLACE= yes
USE_PYTHON= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/src
post-patch:
- @${PERL} -pi -e "s,^CC,#CC,g ; \
+ @${REINPLACE_CMD} -e "s,^CC,#CC,g ; \
s,%%PYTHON_INCLUDEDIR%%,${PYTHON_INCLUDEDIR},g ; \
s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile