commit:     738ce4d9279272d6b1f59c388e9ede68502ab5f4
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  4 03:40:54 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Fri Apr  4 03:44:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=738ce4d9

sci-electronics/spice: respect CC

All the configuration is jammed into Makefile fragments with the
expectation that you edit it by hand. Prime 1989 technology. Capitulate
to this demand, but use a slightly better editor (echo).

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

 sci-electronics/spice/spice-3.5.5-r4.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sci-electronics/spice/spice-3.5.5-r4.ebuild 
b/sci-electronics/spice/spice-3.5.5-r4.ebuild
index 86ec6e1741ec..07d33da42157 100644
--- a/sci-electronics/spice/spice-3.5.5-r4.ebuild
+++ b/sci-electronics/spice/spice-3.5.5-r4.ebuild
@@ -48,6 +48,8 @@ src_prepare() {
        # Avoid re-creating WORKDIR due to stupid mtime
        touch ..
 
+       echo "CC = $(tc-getCC)" >> conf/defaults
+
        sed -i -e "s/termcap/ncurses/g" \
                -e "s/joe/\/usr\/libexec\/editor/g" \
                -e "s/-O2 -s/${CFLAGS}/g" \

Reply via email to