diff options
author | Markus Brueffer <markus@FreeBSD.org> | 2007-03-13 23:41:31 +0000 |
---|---|---|
committer | Markus Brueffer <markus@FreeBSD.org> | 2007-03-13 23:41:31 +0000 |
commit | 54d4d8410f3857cd206bea860cf1fd980f94c1cc (patch) | |
tree | 1b262c98eb1cf6419ca44bfed2d01fb0356922cd /net-p2p/ktorrent2/Makefile | |
parent | Upgrade to 3.3.0. (diff) |
Fix build if libtorrent is present
PR: ports/110286
Submitted by: Maxim Samsonov <xors@mne.ru>
Notes
Notes:
svn path=/head/; revision=187342
Diffstat (limited to 'net-p2p/ktorrent2/Makefile')
-rw-r--r-- | net-p2p/ktorrent2/Makefile | 5 |
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> |