aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/ktorrent2
diff options
context:
space:
mode:
authorMarkus Brueffer <markus@FreeBSD.org>2007-03-13 23:41:31 +0000
committerMarkus Brueffer <markus@FreeBSD.org>2007-03-13 23:41:31 +0000
commit54d4d8410f3857cd206bea860cf1fd980f94c1cc (patch)
tree1b262c98eb1cf6419ca44bfed2d01fb0356922cd /net-p2p/ktorrent2
parentcac097d9f8971395eb3a77857370ff393346a2b7 (diff)
Notes
Diffstat (limited to 'net-p2p/ktorrent2')
-rw-r--r--net-p2p/ktorrent2/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net-p2p/ktorrent2/Makefile b/net-p2p/ktorrent2/Makefile
index 18a0e6a01b5e..ba8140ac4b2e 100644
--- a/net-p2p/ktorrent2/Makefile
+++ b/net-p2p/ktorrent2/Makefile
@@ -24,5 +24,10 @@ USE_GMAKE= yes
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's|zeroconf||' ${WRKSRC}/plugins/Makefile.in
+ @${FIND} ${WRKSRC} -name Makefile.in | \
+ ${XARGS} ${REINPLACE_CMD} \
+ -e '/^INCLUDES =/{:loop' -e '/\\$$/{N;bloop' \
+ -e '};/$$(all_includes)/{s///;s/$$/ $$(all_includes)/' \
+ -e '}' -e '}'
.include <bsd.port.mk>