summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-01-09 13:16:54 +0100
committerJeroen Roovers <jer@gentoo.org>2016-01-09 15:30:23 +0100
commitb6a7229aa30df430ff13c63d62db7c26781ca552 (patch)
treed9c0d84d1930f5ce1f3e7610956bccf419e737c5 /app-text/mupdf
parentmedia-fonts/font-util: Stable for HPPA PPC64 (bug #559062). (diff)
downloadgentoo-b6a7229aa30df430ff13c63d62db7c26781ca552.tar.gz
gentoo-b6a7229aa30df430ff13c63d62db7c26781ca552.tar.bz2
gentoo-b6a7229aa30df430ff13c63d62db7c26781ca552.zip
app-text/mupdf: Fix building on HPPA.
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-text/mupdf')
-rw-r--r--app-text/mupdf/mupdf-9999.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/app-text/mupdf/mupdf-9999.ebuild b/app-text/mupdf/mupdf-9999.ebuild
index d275c29d17d5..4f8613a1fc12 100644
--- a/app-text/mupdf/mupdf-9999.ebuild
+++ b/app-text/mupdf/mupdf-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit eutils git-2 multilib toolchain-funcs
+inherit eutils flag-o-matic git-2 multilib toolchain-funcs
DESCRIPTION="a lightweight PDF viewer and toolkit written in portable C"
HOMEPAGE="http://mupdf.com/"
@@ -38,6 +38,8 @@ DEPEND="${RDEPEND}
x11-libs/libxcb[static-libs] )"
src_prepare() {
+ use hppa && append-cflags -ffunction-sections
+
rm -rf thirdparty || die
epatch \