summaryrefslogtreecommitdiffstats
path: root/biology/povchem
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-01-07 17:49:52 +0000
committerwill <will@FreeBSD.org>2001-01-07 17:49:52 +0000
commit17fc78c61a40e51c25675da0e3d99e222c1abdd3 (patch)
treea8b19a050dd6847de35f8b185751c1b52138d171 /biology/povchem
parent98a4931c0a8138d6f6fb6de52d4fd949a15ae520 (diff)
downloadFreeBSD-ports-17fc78c61a40e51c25675da0e3d99e222c1abdd3.zip
FreeBSD-ports-17fc78c61a40e51c25675da0e3d99e222c1abdd3.tar.gz
Clean up inefficient perl invocations; use multiple REs in the same call.
Diffstat (limited to 'biology/povchem')
-rw-r--r--biology/povchem/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/biology/povchem/Makefile b/biology/povchem/Makefile
index 0c9c15d..4d3d5ee 100644
--- a/biology/povchem/Makefile
+++ b/biology/povchem/Makefile
@@ -29,8 +29,8 @@ do-extract:
.endfor
post-patch:
- @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/povchem.cfg
- @${PERL} -pi -e "s|%%X11BASE%%|${X11BASE}|g" ${WRKSRC}/povchem.cfg
+ @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g ; \
+ s|%%X11BASE%%|${X11BASE}|g" ${WRKSRC}/povchem.cfg
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEFS} -o povchem povchem.c -lm
OpenPOWER on IntegriCloud