summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-12-20 01:05:30 +0000
committerSam James <sam@gentoo.org>2021-12-20 01:06:06 +0000
commit2bb2d3a4987fc21d4484b986b8e1f6977c5ceb15 (patch)
treeaaf18c049382d5ded9cc625467adf7d4e771311f /media-gfx
parentx11-misc/gtkdialog: drop project desktop-misc (diff)
downloadgentoo-2bb2d3a4987fc21d4484b986b8e1f6977c5ceb15.tar.gz
gentoo-2bb2d3a4987fc21d4484b986b8e1f6977c5ceb15.tar.bz2
gentoo-2bb2d3a4987fc21d4484b986b8e1f6977c5ceb15.zip
media-gfx/graphite2: only add lssp_shared on musl ppc/musl
Closes: https://bugs.gentoo.org/829690 Thanks-to: Jory A. Pratt <anarchy@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/graphite2/graphite2-1.3.14-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
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