summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-02-06 08:14:48 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-02-06 08:14:48 +0000
commit05ccc1b6afcb72029147b94f3cc92dd29e16333e (patch)
treed86b859795dde97a3aafae5a4d7d61c06c8c252b
parent- Update to 0.12.7 (diff)
- Update to 0.8.7
PR: 153720 Submitted by: Jui-Nan Lin <jnlin@csie.nctu.edu.tw> Approved by: flz via irc (maintainer) Feature safe: yes
Notes
Notes: svn path=/head/; revision=268708
-rw-r--r--net-p2p/rtorrent/Makefile17
-rw-r--r--net-p2p/rtorrent/distinfo5
2 files changed, 12 insertions, 10 deletions
diff --git a/net-p2p/rtorrent/Makefile b/net-p2p/rtorrent/Makefile
index 0de499ccd7a2..f0f4732bfb3e 100644
--- a/net-p2p/rtorrent/Makefile
+++ b/net-p2p/rtorrent/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME?= rtorrent
-PORTVERSION?= 0.8.6
-PORTREVISION?= 1
+PORTVERSION?= 0.8.7
CATEGORIES= net-p2p
MASTER_SITES= http://libtorrent.rakshasa.no/downloads/ \
${MASTER_SITE_LOCAL}
@@ -16,24 +15,24 @@ MASTER_SITE_SUBDIR= flz/rtorrent/
MAINTAINER?= flz@FreeBSD.org
COMMENT?= BitTorrent Client written in C++
-BUILD_DEPENDS?= libtorrent=0.12.6_1:${PORTSDIR}/net-p2p/libtorrent
-RUN_DEPENDS?= libtorrent=0.12.6_1:${PORTSDIR}/net-p2p/libtorrent
+BUILD_DEPENDS?= libtorrent=0.12.7:${PORTSDIR}/net-p2p/libtorrent
+RUN_DEPENDS?= libtorrent=0.12.7:${PORTSDIR}/net-p2p/libtorrent
LIB_DEPENDS?= curl.6:${PORTSDIR}/ftp/curl
CONFLICTS?= rtorrent-devel-[0-9]*
-MAN1= rtorrent.1
-
USE_GCC= 4.2+
GNU_CONFIGURE= yes
+CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -pthread"
CONFIGURE_ARGS= --disable-debug
SUB_FILES= pkg-message
PORTDOCS= README
-OPTIONS= XMLRPC "Compile with xmlrpc-c support" on
+OPTIONS= XMLRPC "Compile with xmlrpc-c support" on \
+ IPV6 "Enable IPv6 support" off
.include <bsd.port.pre.mk>
@@ -44,6 +43,10 @@ LIB_DEPENDS+= xmlrpc.3:${PORTSDIR}/net/xmlrpc-c-devel
CONFIGURE_ARGS+= --with-xmlrpc-c=no
.endif
+.if defined(WITH_IPV6)
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/configure
diff --git a/net-p2p/rtorrent/distinfo b/net-p2p/rtorrent/distinfo
index 004bc1d4d4ad..ed3ea8ed47cf 100644
--- a/net-p2p/rtorrent/distinfo
+++ b/net-p2p/rtorrent/distinfo
@@ -1,3 +1,2 @@
-MD5 (rtorrent-0.8.6.tar.gz) = b804c45c01c40312926bcea6b55bb084
-SHA256 (rtorrent-0.8.6.tar.gz) = 8c96c68e1524162abd1fc4b612d0c3d924fccc25159c0b3f208e69281f0b32db
-SIZE (rtorrent-0.8.6.tar.gz) = 521045
+SHA256 (rtorrent-0.8.7.tar.gz) = 1fd0c9b2b3fe81b035209417c4dd4514473411f16b15ffe7fefe87eaff1a58d2
+SIZE (rtorrent-0.8.7.tar.gz) = 547435