From 9f76a6e67b9ec586f4c1b5e061a56bbca53bdaee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Tue, 9 Feb 2021 00:21:43 -0300 Subject: [PATCH] libtorrent: don't depend on libcppunit in the resulting package. Probably some rebel linker options screwing things up and leaving libcppunit as a required library in libtorrent. This isn't a proper fix, because the final library doesn't use libcppunit symbols and -Wl,--as-needed in LDFLAGS should have caught it. --- srcpkgs/libtorrent/template | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/srcpkgs/libtorrent/template b/srcpkgs/libtorrent/template index 92da1d727aa..fe2e4d73c21 100644 --- a/srcpkgs/libtorrent/template +++ b/srcpkgs/libtorrent/template @@ -1,17 +1,19 @@ # Template file for 'libtorrent' pkgname=libtorrent version=0.13.8 -revision=2 +revision=3 build_style=gnu-configure configure_args="--enable-static --disable-debug --without-kqueue --enable-aligned --with-posix-fallocate" hostmakedepends="automake libtool pkg-config" -makedepends="libcppunit-devel libressl-devel zlib-devel" +makedepends="libressl-devel zlib-devel" +# XXX: if built with XBPS_CHECK_PKGS, final binary will be dyn linked against libcppunit +checkdepends="libcppunit-devel" short_desc="BitTorrent library written in C++" maintainer="Nathan Owens " license="GPL-2.0-or-later" -homepage="https://github.com/rakshasa/${pkgname}" -distfiles="https://github.com/rakshasa/${pkgname}/archive/v${version}.tar.gz" +homepage="https://github.com/rakshasa/libtorrent" +distfiles="https://github.com/rakshasa/libtorrent/archive/v${version}.tar.gz" checksum=0f6c2e7ffd3a1723ab47fdac785ec40f85c0a5b5a42c1d002272205b988be722 # https://github.com/rakshasa/rtorrent/issues/156