From a970c0925e5443b3aa5c1b9a2fdc972c0ec199f1 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 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/libtorrent/template b/srcpkgs/libtorrent/template index 92da1d727aa..5c7d4e74e8c 100644 --- a/srcpkgs/libtorrent/template +++ b/srcpkgs/libtorrent/template @@ -1,12 +1,14 @@ # 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"