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
1 changed files with 6 additions and 4 deletions

View File

@ -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 <ndowens04@gmail.com>"
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