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. --- misc/rfc/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'misc') diff --git a/misc/rfc/Makefile b/misc/rfc/Makefile index 52e25078216e..a611c2bb71b1 100644 --- a/misc/rfc/Makefile +++ b/misc/rfc/Makefile @@ -24,9 +24,9 @@ do-extract: @${CP} ${DISTDIR}/${DISTNAME} ${WRKDIR}/${DISTNAME} do-configure: - @${PERL} -pi.orig -e 's|/usr/local/etc/rfc|${PREFIX}/etc/rfc|' ${WRKDIR}/${DISTNAME} - @${PERL} -pi.orig -e 's|/usr/local/etc/nmap|${PREFIX}/share/misc/nmap|' ${WRKDIR}/${DISTNAME} - @${PERL} -pi.orig -e 's|lynx|w3m|' ${WRKDIR}/${DISTNAME} + @${PERL} -pi.orig -e 's|/usr/local/etc/rfc|${PREFIX}/etc/rfc| ; \ + s|/usr/local/etc/nmap|${PREFIX}/share/misc/nmap| ; \ + s|lynx|w3m|' ${WRKDIR}/${DISTNAME} do-install: ${INSTALL_SCRIPT} ${WRKDIR}/rfc ${PREFIX}/bin/rfc -- cgit