dev-scheme/racket: use dot-a.eclass

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

Closes: https://bugs.gentoo.org/958190
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz 2025-08-10 13:01:43 -04:00
parent 44f7c07b9e
commit 0138a15808
No known key found for this signature in database
GPG Key ID: 84A7D12B700D2F57

View File

@ -3,7 +3,7 @@
EAPI=8
inherit check-reqs desktop optfeature toolchain-funcs readme.gentoo-r1
inherit check-reqs desktop dot-a optfeature toolchain-funcs readme.gentoo-r1
DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
HOMEPAGE="https://racket-lang.org/
@ -103,6 +103,7 @@ src_configure() {
# --enable-libs & --disable-shared is the way to build
# .a files that are needed to embed Racket into programs
# https://docs.racket-lang.org/inside/cs-embedding.html
lto-guarantee-fat
local -a myconf=(
--disable-shared
--disable-strip
@ -146,6 +147,8 @@ src_install() {
# Install Zuo.
emake -C zuo DESTDIR="${ED}" install
strip-lto-bytecode
# raco needs decompressed files for packages doc installation, bug #662424
if use doc ; then
docompress -x "/usr/share/doc/${PF}"