summaryrefslogtreecommitdiff
path: root/devel/openzz
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-25 18:36:39 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-25 18:36:39 +0000
commitc2e96a6fd15ffeb729ad724a29f33c91d1eafc84 (patch)
tree5163ba03df5b625ecccf34756ce8597ed008cfd5 /devel/openzz
parentUse REINPLACE_CMD (diff)
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39842 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Notes
Notes: svn path=/head/; revision=61964
Diffstat (limited to 'devel/openzz')
-rw-r--r--devel/openzz/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/openzz/Makefile b/devel/openzz/Makefile
index ff482a134861..b8c337a55c43 100644
--- a/devel/openzz/Makefile
+++ b/devel/openzz/Makefile
@@ -14,6 +14,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
@@ -21,9 +22,9 @@ INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
post-patch:
- @${PERL} -pi -e "s/cfree/free/g" ${WRKSRC}/src/list.c
+ @${REINPLACE_CMD} -e "s/cfree/free/g" ${WRKSRC}/src/list.c
.if ${OSVERSION} <= 500027
- @${FIND} ${WRKSRC}/src -type f | ${XARGS} ${PERL} -pi \
+ @${FIND} ${WRKSRC}/src -type f | ${XARGS} ${REINPLACE_CMD} \
-e 's|<stdint.h>|<inttypes.h>|'
.endif