games-util/glbsp: use dot-a.eclass

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

Closes: https://bugs.gentoo.org/958309
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz 2025-08-10 20:20:11 -04:00
parent 95e8678db7
commit a5d5bf7ce6
No known key found for this signature in database
GPG Key ID: 84A7D12B700D2F57

View File

@ -3,7 +3,7 @@
EAPI=8
inherit desktop toolchain-funcs
inherit desktop dot-a toolchain-funcs
MY_PV=$(ver_rs 1 '')
DESCRIPTION="Node builder specially designed for OpenGL ports of the DOOM game engine"
@ -27,6 +27,8 @@ PATCHES=(
src_prepare() {
default
lto-guarantee-fat
sed -i \
-e "/^CC=/s:=.*:=$(tc-getCC):" \
-e "/^CXX=/s:=.*:=$(tc-getCXX):" \
@ -67,4 +69,6 @@ src_install() {
docinto nodeview
dodoc nodeview/{README,TODO}.txt
fi
strip-lto-bytecode
}