summaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-01-07 17:49:52 +0000
committerWill Andrews <will@FreeBSD.org>2001-01-07 17:49:52 +0000
commite40046b15dfb9ad5c4dcaa8137ef304b829ea59b (patch)
tree608ae9c87b150f1e38d0af957c8f5103a8dacaab /biology
parentFix typo. (diff)
Clean up inefficient perl invocations; use multiple REs in the same call.
Notes
Notes: svn path=/head/; revision=36897
Diffstat (limited to 'biology')
-rw-r--r--biology/povchem/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/biology/povchem/Makefile b/biology/povchem/Makefile
index 0c9c15d20572..4d3d5ee9c784 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