commit: 4b89554c5c3ce9dbb87fd0b72f1f2ad9e6e6f138 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Apr 28 01:35:29 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Apr 28 01:35:29 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b89554c
dev-libs/zziplib: forcefully set CMAKE_BUILD_TYPE It's critical that we use RelWithDebInfo and not Release (which a user may set) because the upstream CMake sets a different library name (!) with Release. With that different name (which we don't want based on an environment variable anyway), the pkg-config file is also wrong, so it's not usable. But we should be grateful for that, as otherwise, we wouldn't have noticed. (Of course, it's very very rare for a user to set this, and in the end, they've decided to stop doing that after discussing it, but nonetheless...) Bug: https://github.com/gdraheim/zziplib/issues/117 Thanks-to: Eli Schwartz <eschwartz <AT> gentoo.org> Signed-off-by: Sam James <sam <AT> gentoo.org> .../zziplib/{zziplib-0.13.78-r1.ebuild => zziplib-0.13.78-r2.ebuild} | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-libs/zziplib/zziplib-0.13.78-r1.ebuild b/dev-libs/zziplib/zziplib-0.13.78-r2.ebuild similarity index 90% rename from dev-libs/zziplib/zziplib-0.13.78-r1.ebuild rename to dev-libs/zziplib/zziplib-0.13.78-r2.ebuild index 04dd974bd1fa..8d19a859aa38 100644 --- a/dev-libs/zziplib/zziplib-0.13.78-r1.ebuild +++ b/dev-libs/zziplib/zziplib-0.13.78-r2.ebuild @@ -3,6 +3,10 @@ EAPI=8 +# It's critical that we use RelWithDebInfo and not Release (which a user +# may set) because the upstream CMake sets a different library name (!) +# with Release. +CMAKE_BUILD_TYPE=RelWithDebInfo PYTHON_COMPAT=( python3_{10..13} ) # Needed for docs, bug #8357553 PYTHON_REQ_USE="xml(+)"
