summaryrefslogtreecommitdiff
path: root/irc/kvirc
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-01-07 17:49:52 +0000
committerWill Andrews <will@FreeBSD.org>2001-01-07 17:49:52 +0000
commite40046b15dfb9ad5c4dcaa8137ef304b829ea59b (patch)
tree608ae9c87b150f1e38d0af957c8f5103a8dacaab /irc/kvirc
parentFix typo. (diff)
Clean up inefficient perl invocations; use multiple REs in the same call.
Notes
Notes: svn path=/head/; revision=36897
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>