summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/netrexx/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/java/netrexx/Makefile b/java/netrexx/Makefile
index b3287e07bbb3..aad621d9e99d 100644
--- a/java/netrexx/Makefile
+++ b/java/netrexx/Makefile
@@ -19,10 +19,11 @@ RUN_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk11 \
NO_BUILD= yes
USE_ZIP= yes
+USE_REINPLACE= yes
pre-patch:
- @${PERL} -pi -e 's/\015//' ${WRKSRC}/bin/NetRexxC.sh
- @${PERL} -pi -e 's/\015//' ${WRKSRC}/read.me.first
+ @${REINPLACE_CMD} -e 's/\015//' ${WRKSRC}/bin/NetRexxC.sh
+ @${REINPLACE_CMD} -e 's/\015//' ${WRKSRC}/read.me.first
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/bin/NetRexxC.sh ${PREFIX}/bin