diff options
author | Will Andrews <will@FreeBSD.org> | 2001-01-07 17:49:52 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2001-01-07 17:49:52 +0000 |
commit | e40046b15dfb9ad5c4dcaa8137ef304b829ea59b (patch) | |
tree | 608ae9c87b150f1e38d0af957c8f5103a8dacaab /biology/povchem | |
parent | cc2dc5fd2b0497078f0984b0b3a9123d7ede14e6 (diff) |
Clean up inefficient perl invocations; use multiple REs in the same call.
Notes
Notes:
svn path=/head/; revision=36897
Diffstat (limited to 'biology/povchem')
-rw-r--r-- | biology/povchem/Makefile | 4 |
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 |