aboutsummaryrefslogtreecommitdiffstats
path: root/irc/kvirc
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-01-08 01:49:52 +0800
committerwill <will@FreeBSD.org>2001-01-08 01:49:52 +0800
commit17fc78c61a40e51c25675da0e3d99e222c1abdd3 (patch)
treea8b19a050dd6847de35f8b185751c1b52138d171 /irc/kvirc
parent98a4931c0a8138d6f6fb6de52d4fd949a15ae520 (diff)
downloadfreebsd-ports-gnome-17fc78c61a40e51c25675da0e3d99e222c1abdd3.tar.gz
freebsd-ports-gnome-17fc78c61a40e51c25675da0e3d99e222c1abdd3.tar.zst
freebsd-ports-gnome-17fc78c61a40e51c25675da0e3d99e222c1abdd3.zip
Clean up inefficient perl invocations; use multiple REs in the same call.
Diffstat (limited to 'irc/kvirc')
-rw-r--r--irc/kvirc/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/irc/kvirc/Makefile b/irc/kvirc/Makefile
index 6f6570a9c21e..ea3b529a59ab 100644
--- a/irc/kvirc/Makefile
+++ b/irc/kvirc/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>