mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
net-libs/grpc: 1.71.0 conditionally apply gtest patch
Patch depends on replacing the included libs from gtest/abseil-cpp. And breaks without USE=test. Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -73,7 +73,6 @@ BDEPEND="
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.71.0-fix-already-registered.patch"
|
||||
"${FILESDIR}/${PN}-1.71.0-system-gtest.patch"
|
||||
)
|
||||
|
||||
@@ -173,6 +172,9 @@ src_prepare() {
|
||||
|
||||
# Respect EPYTHON when testing, don't touch installed files otherwise
|
||||
python_fix_shebang --force "${S}"
|
||||
|
||||
# NOTE doesn't apply if we don't replace gtest/abseil libs
|
||||
eapply "${FILESDIR}/${PN}-1.71.0-fix-already-registered.patch"
|
||||
fi
|
||||
|
||||
# Called via system() by some of the C++ sources, respect EPYTHON
|
||||
|
||||
Reference in New Issue
Block a user