aboutsummaryrefslogtreecommitdiffstats
path: root/misc/quantlib
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-23 01:23:30 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-23 01:23:30 +0800
commit8545a2e67fcd00c39e1d49278039599fde0a3c96 (patch)
tree93c69ec1765552a1e68bc7a639a178521cfdbd2e /misc/quantlib
parenta05fa76323fffdebea8fa39b9c6b32db8f07f949 (diff)
downloadfreebsd-ports-gnome-8545a2e67fcd00c39e1d49278039599fde0a3c96.tar.gz
freebsd-ports-gnome-8545a2e67fcd00c39e1d49278039599fde0a3c96.tar.zst
freebsd-ports-gnome-8545a2e67fcd00c39e1d49278039599fde0a3c96.zip
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39665 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'misc/quantlib')
-rw-r--r--misc/quantlib/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/misc/quantlib/Makefile b/misc/quantlib/Makefile
index 7a41106859de..83853fda4edf 100644
--- a/misc/quantlib/Makefile
+++ b/misc/quantlib/Makefile
@@ -17,6 +17,7 @@ MAINTAINER= ports@FreeBSD.org
WRKSRC= ${WRKDIR}/QuantLib-${PORTVERSION}
+USE_REINPLACE= yes
USE_BZIP2= yes
USE_LIBTOOL= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
@@ -26,10 +27,10 @@ MAN1= DiscreteHedging.1 EuropeanOption.1 SwapValuation.1 \
quantlib-config.1
pre-patch:
- @${PERL} -pi -e 's|-g -O3|\$$CXXFLAGS|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-g -O3|\$$CXXFLAGS|g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | \
- ${XARGS} ${PERL} -pi -e 's|-g -O.|\@CXXFLAGS\@|g'
+ ${XARGS} ${REINPLACE_CMD} -e 's|-g -O.|\@CXXFLAGS\@|g'
@${FIND} ${WRKSRC}/Examples -name "Makefile.in" | \
- ${XARGS} ${PERL} -pi -e 's|-pedantic -Wall|-O0|g'
+ ${XARGS} ${REINPLACE_CMD} -e 's|-pedantic -Wall|-O0|g'
.include <bsd.port.mk>