aboutsummaryrefslogtreecommitdiff
path: root/net/tn5250
diff options
context:
space:
mode:
Diffstat (limited to 'net/tn5250')
-rw-r--r--net/tn5250/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/tn5250/Makefile b/net/tn5250/Makefile
index b0bc753d46d2..01c807cf6afd 100644
--- a/net/tn5250/Makefile
+++ b/net/tn5250/Makefile
@@ -13,6 +13,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_LIBTOOL= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-os-dir=no
@@ -40,7 +41,7 @@ pre-everything::
.endif
post-patch:
- @${FIND} ${WRKSRC}/src -name '*.[ch]' | ${XARGS} ${PERL} -pi -e \
+ @${FIND} ${WRKSRC}/src -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
's|<malloc.h>|<stdlib.h>|g'
post-install: