summaryrefslogtreecommitdiffstats
path: root/irc/kvirc-devel
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-01-07 17:49:52 +0000
committerwill <will@FreeBSD.org>2001-01-07 17:49:52 +0000
commit17fc78c61a40e51c25675da0e3d99e222c1abdd3 (patch)
treea8b19a050dd6847de35f8b185751c1b52138d171 /irc/kvirc-devel
parent98a4931c0a8138d6f6fb6de52d4fd949a15ae520 (diff)
downloadFreeBSD-ports-17fc78c61a40e51c25675da0e3d99e222c1abdd3.zip
FreeBSD-ports-17fc78c61a40e51c25675da0e3d99e222c1abdd3.tar.gz
Clean up inefficient perl invocations; use multiple REs in the same call.
Diffstat (limited to 'irc/kvirc-devel')
-rw-r--r--irc/kvirc-devel/Makefile7
1 files changed, 3 insertions, 4 deletions
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 <bsd.port.mk>
OpenPOWER on IntegriCloud