Skip to content

Commit

Permalink
app-text/ghostscript-gpl: fix pkg-config/endian handling for cross-co…
Browse files Browse the repository at this point in the history
…mpiles
  • Loading branch information
Chuan-kai Lin authored and vapier committed Jan 7, 2016
1 parent 004c08d commit 49a9960
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion app-text/ghostscript-gpl/ghostscript-gpl-9.15-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

EAPI=5

inherit autotools eutils multilib versionator flag-o-matic
inherit autotools eutils multilib versionator flag-o-matic toolchain-funcs

DESCRIPTION="Ghostscript is an interpreter for the PostScript language and for PDF"
HOMEPAGE="http://ghostscript.com/"
Expand Down Expand Up @@ -143,11 +143,15 @@ src_configure() {
FONTPATH="$FONTPATH${FONTPATH:+:}$path"
done

# We force the endian configure flags until this is fixed:
# http://bugs.ghostscript.com/show_bug.cgi?id=696498
PKGCONFIG=$(type -P $(tc-getPKG_CONFIG)) \
econf \
--enable-dynamic \
--enable-freetype \
--enable-fontconfig \
--enable-openjpeg \
--enable-$(tc-endian)-endian \
--disable-compile-inits \
--with-drivers=ALL \
--with-fontpath="$FONTPATH" \
Expand Down
6 changes: 5 additions & 1 deletion app-text/ghostscript-gpl/ghostscript-gpl-9.18.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

EAPI=5

inherit autotools eutils multilib versionator flag-o-matic
inherit autotools eutils multilib versionator flag-o-matic toolchain-funcs

DESCRIPTION="Ghostscript is an interpreter for the PostScript language and for PDF"
HOMEPAGE="http://ghostscript.com/"
Expand Down Expand Up @@ -148,11 +148,15 @@ src_configure() {
FONTPATH="$FONTPATH${FONTPATH:+:}$path"
done

# We force the endian configure flags until this is fixed:
# http://bugs.ghostscript.com/show_bug.cgi?id=696498
PKGCONFIG=$(type -P $(tc-getPKG_CONFIG)) \
econf \
--enable-dynamic \
--enable-freetype \
--enable-fontconfig \
--enable-openjpeg \
--enable-$(tc-endian)-endian \
--disable-compile-inits \
--with-drivers=ALL \
--with-fontpath="$FONTPATH" \
Expand Down

0 comments on commit 49a9960

Please sign in to comment.