summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-01-09 11:58:46 +0100
committerJeroen Roovers <jer@gentoo.org>2016-01-09 11:58:46 +0100
commite6c4571565465d67f2ed34244f8223242272d886 (patch)
treeb11f9a4f4bf7d37c66076a01736406bc3d07aea1 /app-text/mupdf
parentmedia-libs/glfw: Mark ~hppa too. (diff)
downloadgentoo-e6c4571565465d67f2ed34244f8223242272d886.tar.gz
gentoo-e6c4571565465d67f2ed34244f8223242272d886.tar.bz2
gentoo-e6c4571565465d67f2ed34244f8223242272d886.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-1.7a-r1.ebuild4
-rw-r--r--app-text/mupdf/mupdf-1.8.ebuild6
2 files changed, 7 insertions, 3 deletions
diff --git a/app-text/mupdf/mupdf-1.7a-r1.ebuild b/app-text/mupdf/mupdf-1.7a-r1.ebuild
index 2bb7606784ba..afd18061785d 100644
--- a/app-text/mupdf/mupdf-1.7a-r1.ebuild
+++ b/app-text/mupdf/mupdf-1.7a-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit eutils multilib toolchain-funcs vcs-snapshot
+inherit eutils flag-o-matic multilib toolchain-funcs vcs-snapshot
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 \
diff --git a/app-text/mupdf/mupdf-1.8.ebuild b/app-text/mupdf/mupdf-1.8.ebuild
index 13395623ac36..da273c78e47a 100644
--- a/app-text/mupdf/mupdf-1.8.ebuild
+++ b/app-text/mupdf/mupdf-1.8.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit eutils multilib toolchain-funcs vcs-snapshot
+inherit eutils flag-o-matic multilib toolchain-funcs vcs-snapshot
DESCRIPTION="a lightweight PDF viewer and toolkit written in portable C"
HOMEPAGE="http://mupdf.com/"
@@ -13,7 +13,7 @@ SRC_URI="http://git.ghostscript.com/?p=mupdf.git;a=snapshot;h=179403598244f069b5
LICENSE="AGPL-3"
MY_SOVER=1.8
SLOT="0/${MY_SOVER}"
-KEYWORDS="~alpha ~amd64 ~arm -hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="X vanilla +curl javascript libressl opengl +openssl static static-libs"
LIB_DEPEND="
@@ -41,6 +41,8 @@ DEPEND="${RDEPEND}
REQUIRED_USE="opengl? ( X !static !static-libs )"
src_prepare() {
+ use hppa && append-cflags -ffunction-sections
+
rm -rf thirdparty || die
epatch \