diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-22 17:06:27 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-22 17:06:27 +0000 |
commit | 161b751262bc5e1c5239a167762733cdcdd1d29d (patch) | |
tree | c8a813985306d0a0d3b0535c8d9d96829a495944 /math/vtk | |
parent | change 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 '')
-rw-r--r-- | math/vtk/Makefile | 5 | ||||
-rw-r--r-- | math/vtk43/Makefile | 5 | ||||
-rw-r--r-- | math/vtk5/Makefile | 5 |
3 files changed, 9 insertions, 6 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: 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: 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: |