From 17fc78c61a40e51c25675da0e3d99e222c1abdd3 Mon Sep 17 00:00:00 2001 From: will Date: Sun, 7 Jan 2001 17:49:52 +0000 Subject: Clean up inefficient perl invocations; use multiple REs in the same call. --- biology/povchem/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'biology/povchem') 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 -- cgit v1.1