Skip to content

Commit

Permalink
app-text/mupdf: Fix building on HPPA.
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.26
  • Loading branch information
Jeroen Roovers committed Jan 9, 2016
1 parent 0ba256e commit e6c4571
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion app-text/mupdf/mupdf-1.7a-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down Expand Up @@ -38,6 +38,8 @@ DEPEND="${RDEPEND}
x11-libs/libxcb[static-libs] )"

src_prepare() {
use hppa && append-cflags -ffunction-sections

rm -rf thirdparty || die

epatch \
Expand Down
6 changes: 4 additions & 2 deletions app-text/mupdf/mupdf-1.8.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand All @@ -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="
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit e6c4571

Please sign in to comment.