aboutsummaryrefslogtreecommitdiffstats
path: root/java/javel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/javel/Makefile')
-rw-r--r--java/javel/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/javel/Makefile b/java/javel/Makefile
index f8d012c3fc49..5785d7bcf25a 100644
--- a/java/javel/Makefile
+++ b/java/javel/Makefile
@@ -15,6 +15,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= znerd@FreeBSD.org
NO_WRKSUBDIR= yes
+USE_REINPLACE= yes
MAKEFILE= makefile
MAN1= javel.1
@@ -26,7 +27,7 @@ BROKEN= "Does not compile on 5.0"
.endif
post-patch:
- @${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \
+ @${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \
s,CC,CXX,g ; s,CFLAGS,CXXFLAGS,g" ${WRKSRC}/${MAKEFILE}
do-install: