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. --- irc/kvirc-devel/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'irc/kvirc-devel') diff --git a/irc/kvirc-devel/Makefile b/irc/kvirc-devel/Makefile index 6f6570a..ea3b529 100644 --- a/irc/kvirc-devel/Makefile +++ b/irc/kvirc-devel/Makefile @@ -38,9 +38,8 @@ CONFIGURE_ARGS= --x-includes=$(X11BASE)/include \ CONFIGURE_ENV+= SS_X_EXTRA_LIBS=-lxpg4 pre-build: - for i in `find ${WRKSRC} -name Makefile` ; do \ - ${PERL} -pi -e "s@lqt @lqt2 @g" $$i ; \ - ${PERL} -pi -e "s@lpthread@pthread@g" $$i ; \ - done + @find ${WRKSRC} -name Makefile | xargs ${PERL} -pi -e \ + "s@lqt @lqt2 @g ; \ + s@lpthread@pthread@g" .include -- cgit v1.1