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.
This commit is contained in:
Érico Rolim 2021-02-09 00:21:43 -03:00 committed by Érico Nogueira Rolim
parent 1b38fe8c58
commit 5c9cc3613f

View file

@ -1,17 +1,19 @@
# Template file for 'libtorrent' # Template file for 'libtorrent'
pkgname=libtorrent pkgname=libtorrent
version=0.13.8 version=0.13.8
revision=2 revision=3
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-static --disable-debug --without-kqueue configure_args="--enable-static --disable-debug --without-kqueue
--enable-aligned --with-posix-fallocate" --enable-aligned --with-posix-fallocate"
hostmakedepends="automake libtool pkg-config" 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++" short_desc="BitTorrent library written in C++"
maintainer="Nathan Owens <ndowens04@gmail.com>" maintainer="Nathan Owens <ndowens04@gmail.com>"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
homepage="https://github.com/rakshasa/${pkgname}" homepage="https://github.com/rakshasa/libtorrent"
distfiles="https://github.com/rakshasa/${pkgname}/archive/v${version}.tar.gz" distfiles="https://github.com/rakshasa/libtorrent/archive/v${version}.tar.gz"
checksum=0f6c2e7ffd3a1723ab47fdac785ec40f85c0a5b5a42c1d002272205b988be722 checksum=0f6c2e7ffd3a1723ab47fdac785ec40f85c0a5b5a42c1d002272205b988be722
# https://github.com/rakshasa/rtorrent/issues/156 # https://github.com/rakshasa/rtorrent/issues/156