aboutsummaryrefslogtreecommitdiffstats
path: root/net/netscript/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/netscript/Makefile')
-rw-r--r--net/netscript/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/netscript/Makefile b/net/netscript/Makefile
index 81d4c4ac0b66..7a4db8f96a6e 100644
--- a/net/netscript/Makefile
+++ b/net/netscript/Makefile
@@ -17,6 +17,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
WANT_GTK= yes
.include <bsd.port.pre.mk>
@@ -29,7 +30,7 @@ ALL_TARGET= bsd
.endif
post-patch:
- @${PERL} -pi -e "s,gtk-config,${GTK_CONFIG},g" ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e "s,gtk-config,${GTK_CONFIG},g" ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/netscript ${PREFIX}/bin