summaryrefslogtreecommitdiff
path: root/irc/kvirc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'irc/kvirc/Makefile')
-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>