diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-06-23 01:06:27 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-06-23 01:06:27 +0800 |
commit | c147389ae60aad271c5b1f86f9ba1368e91eb78b (patch) | |
tree | c30052169cd8bb432a4dc0eb35650e1f900ebcfa /math/vtk43 | |
parent | 2789058898bc9e5f45b1cf4bd04aaffebbdd1626 (diff) | |
download | freebsd-ports-graphics-c147389ae60aad271c5b1f86f9ba1368e91eb78b.tar.gz freebsd-ports-graphics-c147389ae60aad271c5b1f86f9ba1368e91eb78b.tar.zst freebsd-ports-graphics-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/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/math/vtk43/Makefile b/math/vtk43/Makefile index ee4c6cadef2..20ed8ef3384 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: |