aboutsummaryrefslogtreecommitdiffstats
path: root/math/vtk43
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-23 01:06:27 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-23 01:06:27 +0800
commitc147389ae60aad271c5b1f86f9ba1368e91eb78b (patch)
treec30052169cd8bb432a4dc0eb35650e1f900ebcfa /math/vtk43
parent2789058898bc9e5f45b1cf4bd04aaffebbdd1626 (diff)
downloadfreebsd-ports-gnome-c147389ae60aad271c5b1f86f9ba1368e91eb78b.tar.gz
freebsd-ports-gnome-c147389ae60aad271c5b1f86f9ba1368e91eb78b.tar.zst
freebsd-ports-gnome-c147389ae60aad271c5b1f86f9ba1368e91eb78b.zip
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39656 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'math/vtk43')
-rw-r--r--math/vtk43/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/math/vtk43/Makefile b/math/vtk43/Makefile
index ee4c6cadef2f..20ed8ef33844 100644
--- a/math/vtk43/Makefile
+++ b/math/vtk43/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: