commit:     18bbe7d91d3ccf24a9a76851f1f0c1462b1bafa8
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 12 02:23:11 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Fri Dec 12 12:30:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18bbe7d9

media-gfx/netgen: use dot-a.eclass

... to avoid installing broken static libraries w/ LTO.

Closes: https://bugs.gentoo.org/962071
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 media-gfx/netgen/netgen-6.2.2505.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/media-gfx/netgen/netgen-6.2.2505.ebuild 
b/media-gfx/netgen/netgen-6.2.2505.ebuild
index 8880944c2c49..9f9e7a86432a 100644
--- a/media-gfx/netgen/netgen-6.2.2505.ebuild
+++ b/media-gfx/netgen/netgen-6.2.2505.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{11..13} )
-inherit cmake desktop flag-o-matic python-single-r1 xdg
+inherit cmake desktop dot-a flag-o-matic python-single-r1 xdg
 
 DESCRIPTION="Automatic 3d tetrahedral mesh generator"
 HOMEPAGE="https://ngsolve.org/ https://github.com/NGSolve/netgen";
@@ -115,6 +115,8 @@ src_prepare() {
 }
 
 src_configure() {
+       use gui && lto-guarantee-fat
+
        local mycmakeargs=(
                # currently not working in a sandbox, expects netgen to be 
installed
                # see https://github.com/NGSolve/netgen/issues/132
@@ -188,6 +190,7 @@ src_test() {
 
 src_install() {
        cmake_src_install
+       strip-lto-bytecode
 
        use python && python_optimize
 

Reply via email to