commit: 247aeb9cf521d95a853d52a7b1f4719f508a0ffd Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Jun 13 04:08:21 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Jun 13 04:09:17 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=247aeb9c
dev-libs/protobuf: fix tests 'full-test' requires this. TestSourceDir in src/google/protobuf/testing/googletest.cc respects 'srcdir' as an env var as a hint. Bug: https://bugs.gentoo.org/934062 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/protobuf/protobuf-22.5-r1.ebuild | 5 +++++ dev-libs/protobuf/protobuf-23.3-r3.ebuild | 5 +++++ dev-libs/protobuf/protobuf-26.1-r1.ebuild | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/dev-libs/protobuf/protobuf-22.5-r1.ebuild b/dev-libs/protobuf/protobuf-22.5-r1.ebuild index 047dddcdea67..cd3d12dbea09 100644 --- a/dev-libs/protobuf/protobuf-22.5-r1.ebuild +++ b/dev-libs/protobuf/protobuf-22.5-r1.ebuild @@ -83,6 +83,11 @@ src_compile() { fi } +src_test() { + local -x srcdir="${S}"/src + cmake-multilib_src_test +} + multilib_src_install_all() { find "${ED}" -name "*.la" -delete || die diff --git a/dev-libs/protobuf/protobuf-23.3-r3.ebuild b/dev-libs/protobuf/protobuf-23.3-r3.ebuild index e629850b71ed..6ef5f8f482f1 100644 --- a/dev-libs/protobuf/protobuf-23.3-r3.ebuild +++ b/dev-libs/protobuf/protobuf-23.3-r3.ebuild @@ -74,6 +74,11 @@ src_compile() { fi } +src_test() { + local -x srcdir="${S}"/src + cmake-multilib_src_test +} + multilib_src_install_all() { find "${ED}" -name "*.la" -delete || die diff --git a/dev-libs/protobuf/protobuf-26.1-r1.ebuild b/dev-libs/protobuf/protobuf-26.1-r1.ebuild index b98e219098fd..534834edca75 100644 --- a/dev-libs/protobuf/protobuf-26.1-r1.ebuild +++ b/dev-libs/protobuf/protobuf-26.1-r1.ebuild @@ -72,6 +72,11 @@ src_compile() { fi } +src_test() { + local -x srcdir="${S}"/src + cmake-multilib_src_test +} + multilib_src_install_all() { find "${ED}" -name "*.la" -delete || die