diff options
author | markus <markus@FreeBSD.org> | 2007-03-14 07:41:31 +0800 |
---|---|---|
committer | markus <markus@FreeBSD.org> | 2007-03-14 07:41:31 +0800 |
commit | dd981b0eaeab71e1d5cb33023f60c85c2f3dcac9 (patch) | |
tree | 282073fe2dba6fdaee800c3835965ac260dfb7e1 /net-p2p/ktorrent | |
parent | 14d1782c579c6cbb34246f0c910467db531a47be (diff) | |
download | freebsd-ports-gnome-dd981b0eaeab71e1d5cb33023f60c85c2f3dcac9.tar.gz freebsd-ports-gnome-dd981b0eaeab71e1d5cb33023f60c85c2f3dcac9.tar.zst freebsd-ports-gnome-dd981b0eaeab71e1d5cb33023f60c85c2f3dcac9.zip |
Fix build if libtorrent is present
PR: ports/110286
Submitted by: Maxim Samsonov <xors@mne.ru>
Diffstat (limited to 'net-p2p/ktorrent')
-rw-r--r-- | net-p2p/ktorrent/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net-p2p/ktorrent/Makefile b/net-p2p/ktorrent/Makefile index 18a0e6a01b5e..ba8140ac4b2e 100644 --- a/net-p2p/ktorrent/Makefile +++ b/net-p2p/ktorrent/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> |