diff options
author | tron <tron> | 2011-07-28 23:14:46 +0000 |
---|---|---|
committer | tron <tron> | 2011-07-28 23:14:46 +0000 |
commit | 71dac80bf2cd102baf6fce0009064b37b4fbd72c (patch) | |
tree | 93bc82a07f0b07aee331731168b97e41fe946b03 /net/rtorrent | |
parent | 88b8ac6c7ce3c370511bb80271ca867555a4af40 (diff) | |
download | pkgsrc-71dac80bf2cd102baf6fce0009064b37b4fbd72c.tar.gz |
Add optional XMLRPC support which is enabled by default. Based on a
patch Emile iMil Heitor.
Diffstat (limited to 'net/rtorrent')
-rw-r--r-- | net/rtorrent/Makefile | 11 | ||||
-rw-r--r-- | net/rtorrent/options.mk | 12 |
2 files changed, 17 insertions, 6 deletions
diff --git a/net/rtorrent/Makefile b/net/rtorrent/Makefile index eac13dc5989..12b86c98111 100644 --- a/net/rtorrent/Makefile +++ b/net/rtorrent/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.38 2011/04/22 13:44:27 obache Exp $ +# $NetBSD: Makefile,v 1.39 2011/07/28 23:14:46 tron Exp $ DISTNAME= rtorrent-0.8.6 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= net MASTER_SITES= ${HOMEPAGE:=downloads/} @@ -19,16 +19,15 @@ USE_TOOLS+= gmake pkg-config GNU_CONFIGURE= yes GCC_REQD+= 3.3 -.include "../../mk/bsd.prefs.mk" +.include "options.mk" .if !empty(OPSYS:M*BSD) || ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly" MESSAGE_SRC= ${PKGDIR}/MESSAGE.BSD .endif +# See http://libtorrent.rakshasa.no/ticket/77 .include "../../mk/compiler.mk" - -# See http://libtorrent.rakshasa.no/ticket/96 -.if !empty(CC_VERSION:Mgcc-4.*) +.if !empty(CC_VERSION:Mgcc-4.0.*) CXXFLAGS+= -fpermissive -fno-strength-reduce -fno-thread-jumps \ -fno-inline -fforce-addr .endif diff --git a/net/rtorrent/options.mk b/net/rtorrent/options.mk new file mode 100644 index 00000000000..653c780665e --- /dev/null +++ b/net/rtorrent/options.mk @@ -0,0 +1,12 @@ +# $NetBSD: options.mk,v 1.1 2011/07/28 23:14:46 tron Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.rtorrent +PKG_SUPPORTED_OPTIONS= xmlrpc +PKG_SUGGESTED_OPTIONS= xmlrpc + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mxmlrpc) +CONFIGURE_ARGS+= --with-xmlrpc-c=${PREFIX:Q}/bin/xmlrpc-c-config +. include "../../textproc/xmlrpc-c/buildlink3.mk" +.endif |