aboutsummaryrefslogtreecommitdiff
path: root/math/vtk
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/vtk
parent6117005f174cf91429416650985190076c2892de (diff)
downloadports-161b751262bc5e1c5239a167762733cdcdd1d29d.tar.gz
ports-161b751262bc5e1c5239a167762733cdcdd1d29d.zip
Notes
Diffstat (limited to 'math/vtk')
-rw-r--r--math/vtk/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/math/vtk/Makefile b/math/vtk/Makefile
index ee4c6cadef2f..20ed8ef33844 100644
--- a/math/vtk/Makefile
+++ b/math/vtk/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: