aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-10-06 23:18:17 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-10-06 23:18:17 +0000
commitef33df61d69c1127ac5f35f3ed12d89ff42803be (patch)
tree533bbf9f614fa9275f007edbca05d79ab6788576 /net-p2p
parent39709077f1c575996ef8fd62df9ea343e85e83b2 (diff)
downloadports-ef33df61d69c1127ac5f35f3ed12d89ff42803be.tar.gz
ports-ef33df61d69c1127ac5f35f3ed12d89ff42803be.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/py-libtorrent-rasterbar/Makefile6
-rw-r--r--net-p2p/py-libtorrent-rasterbar/pkg-descr2
2 files changed, 6 insertions, 2 deletions
diff --git a/net-p2p/py-libtorrent-rasterbar/Makefile b/net-p2p/py-libtorrent-rasterbar/Makefile
index d11fe962d4c7..6f35b2faf3f9 100644
--- a/net-p2p/py-libtorrent-rasterbar/Makefile
+++ b/net-p2p/py-libtorrent-rasterbar/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libtorrent-rasterbar
DISTVERSION= 1.1.10
+PORTREVISION= 1
CATEGORIES= net-p2p ipv6 python
MASTER_SITES= https://github.com/arvidn/libtorrent/releases/download/libtorrent-${PORTVERSION:S/./_/g}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,9 +17,12 @@ LICENSE_FILE= ${WRKSRC}/../../COPYING
LIB_DEPENDS= libtorrent-rasterbar.so:net-p2p/libtorrent-rasterbar \
${PY_BOOST}
-USES= localbase python
+USES= iconv localbase python
USE_PYTHON= distutils autoplist
+CFLAGS+= -DTORRENT_DISABLE_LOGGING # undefined symbol: https://github.com/arvidn/libtorrent/issues/3331
+LDFLAGS+= ${LOCALBASE}/lib/libboost_python${PYTHON_SUFFIX}.so ${LOCALBASE}/lib/libiconv.so # fails to link libs: https://github.com/arvidn/libtorrent/issues/3330
+
WRKSRC_SUBDIR= bindings/python
# ensure python paths are correctly identified
diff --git a/net-p2p/py-libtorrent-rasterbar/pkg-descr b/net-p2p/py-libtorrent-rasterbar/pkg-descr
index 9d6a02d83644..8133a590aace 100644
--- a/net-p2p/py-libtorrent-rasterbar/pkg-descr
+++ b/net-p2p/py-libtorrent-rasterbar/pkg-descr
@@ -1,4 +1,4 @@
-The python vinfing of libtorrent, an open source C++ library implementing the
+The python binfing of libtorrent, an open source C++ library implementing the
BitTorrent protocol.
WWW: http://libtorrent.org/