mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
net-libs/libtorrent-rasterbar: conditionally apply test patch
Closes: https://bugs.gentoo.org/821172 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -45,13 +45,18 @@ PATCHES=(
|
||||
"${FILESDIR}"/${P}-boost-1.77.patch
|
||||
"${FILESDIR}"/${P}-python-symbols.patch
|
||||
"${FILESDIR}"/${PN}-2.0.4-asio-ssl-error.patch
|
||||
"${WORKDIR}"/${P}-ssl-tests-certs.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use test && eapply "${WORKDIR}"/${P}-ssl-tests-certs.patch
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_CXX_STANDARD=14
|
||||
|
||||
Reference in New Issue
Block a user