summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-12-09 21:21:52 +0000
committerSam James <sam@gentoo.org>2022-12-09 21:26:57 +0000
commit17f87b4fff4a298528282c1f56e856c8adf39762 (patch)
tree05904c116edcbab3decddb13b9ac37230e065db6 /app-text
parentx11-drivers/xf86-video-vesa: Version bump to 2.6.0 (diff)
downloadgentoo-17f87b4fff4a298528282c1f56e856c8adf39762.tar.gz
gentoo-17f87b4fff4a298528282c1f56e856c8adf39762.tar.bz2
gentoo-17f87b4fff4a298528282c1f56e856c8adf39762.zip
app-text/ghostscript-gpl: filter LTO
Unsupported upstream. Closes: https://bugs.gentoo.org/884841 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/ghostscript-gpl/ghostscript-gpl-10.0.0-r2.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/app-text/ghostscript-gpl/ghostscript-gpl-10.0.0-r2.ebuild b/app-text/ghostscript-gpl/ghostscript-gpl-10.0.0-r2.ebuild
index 6001ee7799d5..cfd631cb8085 100644
--- a/app-text/ghostscript-gpl/ghostscript-gpl-10.0.0-r2.ebuild
+++ b/app-text/ghostscript-gpl/ghostscript-gpl-10.0.0-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit autotools toolchain-funcs
+inherit autotools flag-o-matic toolchain-funcs
MY_PN=${PN/-gpl}
MY_P="${MY_PN}-${PV/_}"
@@ -116,13 +116,16 @@ src_prepare() {
}
src_configure() {
+ # Unsupported upstream, bug #884841
+ filter-lto
+
local FONTPATH
for path in \
"${EPREFIX}"/usr/share/fonts/urw-fonts \
"${EPREFIX}"/usr/share/fonts/Type1 \
"${EPREFIX}"/usr/share/fonts
do
- FONTPATH="$FONTPATH${FONTPATH:+:}${EPREFIX}$path"
+ FONTPATH="${FONTPATH}${FONTPATH:+:}${EPREFIX}${path}"
done
PKGCONFIG=$(type -P $(tc-getPKG_CONFIG)) \
@@ -135,7 +138,7 @@ src_configure() {
--enable-openjpeg \
--disable-compile-inits \
--with-drivers=ALL \
- --with-fontpath="$FONTPATH" \
+ --with-fontpath="${FONTPATH}" \
--with-ijs \
--with-jbig2dec \
--with-libpaper \