dev-cpp/gtest: add subslot

When some packages like cpp/abseil-cpp are built with USE=test, some
installed shared libraries are linked to libgtest/libgmock. And because
gtest doesn't impose a SOVERSION, it appears they would need a rebuild
with every new version of dev-cpp/gtest.

Bug: https://bugs.gentoo.org/941550
Signed-off-by: Peter Levine <plevine457@gmail.com>
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Peter Levine
2025-04-05 01:39:46 +01:00
committed by Sam James
parent d5e856b20a
commit 8d94f39fca
3 changed files with 6 additions and 6 deletions
@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -28,7 +28,7 @@ DESCRIPTION="Google C++ Testing Framework"
HOMEPAGE="https://github.com/google/googletest"
LICENSE="BSD"
SLOT="0"
SLOT="0/${PV}"
IUSE="doc examples test"
RESTRICT="!test? ( test )"
@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -28,7 +28,7 @@ DESCRIPTION="Google C++ Testing Framework"
HOMEPAGE="https://github.com/google/googletest"
LICENSE="BSD"
SLOT="0"
SLOT="0/${PV}"
IUSE="abseil doc examples test"
RESTRICT="!test? ( test )"
+2 -2
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -28,7 +28,7 @@ DESCRIPTION="Google C++ Testing Framework"
HOMEPAGE="https://github.com/google/googletest"
LICENSE="BSD"
SLOT="0"
SLOT="0/${PV}"
IUSE="abseil doc examples test"
RESTRICT="!test? ( test )"