summaryrefslogtreecommitdiffstats
path: root/net-p2p/libfreenet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/libfreenet/Makefile')
-rw-r--r--net-p2p/libfreenet/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-p2p/libfreenet/Makefile b/net-p2p/libfreenet/Makefile
index b27c46e..5cf8acd 100644
--- a/net-p2p/libfreenet/Makefile
+++ b/net-p2p/libfreenet/Makefile
@@ -13,6 +13,7 @@ MASTER_SITES= http://thalassocracy.org/libfreenet/
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_OPENSSL= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
@@ -20,6 +21,6 @@ CONFIGURE_ARGS= --includedir=${PREFIX}/include/libfreenet
INSTALLS_SHLIB= yes
post-patch:
- @${PERL} -pi -e 's|-g -Wall|\@CFLAGS\@|g' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|-g -Wall|\@CFLAGS\@|g' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
OpenPOWER on IntegriCloud