commit:     2bb2d3a4987fc21d4484b986b8e1f6977c5ceb15
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 20 01:05:30 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 20 01:06:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bb2d3a4

media-gfx/graphite2: only add lssp_shared on musl ppc/musl

Closes: https://bugs.gentoo.org/829690
Thanks-to: Jory A. Pratt <anarchy <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/graphite2/graphite2-1.3.14-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/media-gfx/graphite2/graphite2-1.3.14-r1.ebuild 
b/media-gfx/graphite2/graphite2-1.3.14-r1.ebuild
index 1178fe2d3a31..1aae2996d981 100644
--- a/media-gfx/graphite2/graphite2-1.3.14-r1.ebuild
+++ b/media-gfx/graphite2/graphite2-1.3.14-r1.ebuild
@@ -73,7 +73,9 @@ multilib_src_configure() {
 
        if use elibc_musl ; then
                # bug #829690
-               sed -i -e 's:${GRAPHITE_LINK_FLAGS}:-lssp_shared &:' 
"${S}"/src/CMakeLists.txt || die
+               if use ppc || use x86 ; then
+                       sed -i -e 's:${GRAPHITE_LINK_FLAGS}:-lssp_shared &:' 
"${S}"/src/CMakeLists.txt || die
+               fi
        fi
 
        cmake_src_configure

Reply via email to