Date: Mon, 1 Mar 2021 01:18:16 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r566824 - head/net-p2p/py-libtorrent-rasterbar Message-ID: <202103010118.1211IGu7058105@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Mon Mar 1 01:18:15 2021 New Revision: 566824 URL: https://svnweb.freebsd.org/changeset/ports/566824 Log: net-p2p/py-libtorrent-rasterbar: Fix build: use boost-python's shared library to build python shared object Modified: head/net-p2p/py-libtorrent-rasterbar/Makefile Modified: head/net-p2p/py-libtorrent-rasterbar/Makefile ============================================================================== --- head/net-p2p/py-libtorrent-rasterbar/Makefile Sun Feb 28 22:17:46 2021 (r566823) +++ head/net-p2p/py-libtorrent-rasterbar/Makefile Mon Mar 1 01:18:15 2021 (r566824) @@ -3,6 +3,7 @@ PORTNAME= libtorrent-rasterbar DISTVERSION= 2.0.2 +PORTREVISION= 1 CATEGORIES= net-p2p python MASTER_SITES= https://github.com/arvidn/libtorrent/releases/download/v${DISTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -27,8 +28,10 @@ USE_PYTHON= distutils autoplist BINARY_ALIAS= b2=${FILESDIR}/b2 CFLAGS+= -DTORRENT_DISABLE_LOGGING # undefined symbol: https://github.com/arvidn/libtorrent/issues/3331 -CFLAGS+= -fPIC #LDFLAGS+= ${LOCALBASE}/lib/libboost_python${PYTHON_SUFFIX}.so ${LOCALBASE}/lib/libiconv.so # fails to link libs: https://github.com/arvidn/libtorrent/issues/3330 + +PYDISTUTILS_BUILD_TARGET= build_ext +PYDISTUTILS_BUILDARGS= --boost-link=shared # otherwise it uses the static library and fails to build the python object: can't create dynamic relocation R_X86_64_32S against local symbol in readonly segment WRKSRC_SUBDIR= bindings/python
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103010118.1211IGu7058105>