commit:     32baa464010d6850d59da343fad2fc132160365a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 26 00:17:12 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 26 00:17:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32baa464

www-client/w3mmee: [QA] fix tc-get* quoting

This can cause build problems for e.g. 32-bit (gcc -m32 ...)

Signed-off-by: Sam James <sam <AT> gentoo.org>

 www-client/w3mmee/w3mmee-0.3.2_p24-r12.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/www-client/w3mmee/w3mmee-0.3.2_p24-r12.ebuild 
b/www-client/w3mmee/w3mmee-0.3.2_p24-r12.ebuild
index df4f61d15531..2a9701002838 100644
--- a/www-client/w3mmee/w3mmee-0.3.2_p24-r12.ebuild
+++ b/www-client/w3mmee/w3mmee-0.3.2_p24-r12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -48,8 +48,8 @@ HTML_DOCS=( 00INCOMPATIBLE.html )
 src_prepare() {
        default
 
-       sed -i "s:/lib\([^a-z$]\):/$(get_libdir)\1:g" configure
-       sed -i "/^AR=/s:ar:$(tc-getAR):" XMakefile
+       sed -i "s:/lib\([^a-z$]\):/$(get_libdir)\1:g" configure || die
+       sed -i "/^AR=/s:ar:$(tc-getAR):" XMakefile || die
 }
 
 src_configure() {
@@ -86,7 +86,7 @@ src_configure() {
        accept_lang=en
        EOF
 
-       env CC=$(tc-getCC) "${myuse[@]}" ./configure \
+       env CC="$(tc-getCC)" "${myuse[@]}" ./configure \
                -nonstop \
                -prefix="${EPREFIX}/usr" \
                -suffix=mee \

Reply via email to