summaryrefslogtreecommitdiff
path: root/math/vtk5
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-22 17:06:27 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-22 17:06:27 +0000
commit161b751262bc5e1c5239a167762733cdcdd1d29d (patch)
treec8a813985306d0a0d3b0535c8d9d96829a495944 /math/vtk5
parentchange master site (diff)
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39656 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Notes
Notes: svn path=/head/; revision=61740
Diffstat (limited to 'math/vtk5')
-rw-r--r--math/vtk5/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/math/vtk5/Makefile b/math/vtk5/Makefile
index ee4c6cadef2f..20ed8ef33844 100644
--- a/math/vtk5/Makefile
+++ b/math/vtk5/Makefile
@@ -16,6 +16,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83
+USE_REINPLACE= yes
USE_MESA= yes
WRKSRC= ${WRKDIR}/vtk${PORTVERSION}
INSTALLS_SHLIB= yes
@@ -35,11 +36,11 @@ PLIST= ${PKGDIR}/pkg-plist.with_patented
.endif
post-patch:
- ${PERL} -pi -e "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g; \
+ @${REINPLACE_CMD} -e "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g; \
s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g; \
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g" \
${WRKSRC}/user.make
- @${FIND} ${WRKSRC} -name "*.cxx" | ${XARGS} ${PERL} -pi -e \
+ @${FIND} ${WRKSRC} -name "*.cxx" | ${XARGS} ${REINPLACE_CMD} -e \
's|malloc.h|stdlib.h|'
post-install: