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 | |
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')
-rw-r--r-- | net-p2p/ktorrent-devel/Makefile | 5 | ||||
-rw-r--r-- | net-p2p/ktorrent/Makefile | 5 | ||||
-rw-r--r-- | net-p2p/ktorrent2/Makefile | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/net-p2p/ktorrent-devel/Makefile b/net-p2p/ktorrent-devel/Makefile index 9d0c522d7d00..7826cd730f61 100644 --- a/net-p2p/ktorrent-devel/Makefile +++ b/net-p2p/ktorrent-devel/Makefile @@ -26,5 +26,10 @@ USE_GMAKE= yes post-patch: @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT} @${REINPLACE_CMD} -e 's|zeroconf||' ${WRKSRC}/src/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> 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> 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> |