diff options
author | Benda Xu <heroxbd@gentoo.org> | 2016-09-22 14:46:06 +0900 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2016-09-22 14:57:06 +0900 |
commit | 1f867ecfb16ed696750b15c732217120b211ae65 (patch) | |
tree | b1b43437d6ba23cc81ed164db236f9b939682d44 /app-text/ghostscript-gpl | |
parent | net-dialup/pptpd: drop old revision (diff) | |
download | gentoo-1f867ecfb16ed696750b15c732217120b211ae65.tar.gz gentoo-1f867ecfb16ed696750b15c732217120b211ae65.tar.bz2 gentoo-1f867ecfb16ed696750b15c732217120b211ae65.zip |
app-text/ghostscript-gpl: Prefix support.
Bug: 550926
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-text/ghostscript-gpl')
-rw-r--r-- | app-text/ghostscript-gpl/ghostscript-gpl-9.19.ebuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/app-text/ghostscript-gpl/ghostscript-gpl-9.19.ebuild b/app-text/ghostscript-gpl/ghostscript-gpl-9.19.ebuild index 5105d480c298..41a195063890 100644 --- a/app-text/ghostscript-gpl/ghostscript-gpl-9.19.ebuild +++ b/app-text/ghostscript-gpl/ghostscript-gpl-9.19.ebuild @@ -132,14 +132,16 @@ src_prepare() { # search path fix # put LDFLAGS after BINDIR, bug #383447 - sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/${PVM}/$(get_libdir):" \ - -e "s:exdir=.*:exdir=/usr/share/doc/${PF}/examples:" \ - -e "s:docdir=.*:docdir=/usr/share/doc/${PF}/html:" \ - -e "s:GS_DOCDIR=.*:GS_DOCDIR=/usr/share/doc/${PF}/html:" \ + sed -i -e "s:\$\(gsdatadir\)/lib:@datarootdir@/ghostscript/${PVM}/$(get_libdir):" \ + -e "s:exdir=.*:exdir=@datarootdir@/doc/${PF}/examples:" \ + -e "s:docdir=.*:docdir=@datarootdir@/doc/${PF}/html:" \ + -e "s:GS_DOCDIR=.*:GS_DOCDIR=@datarootdir@/doc/${PF}/html:" \ -e 's:-L$(BINDIR):& $(LDFLAGS):g' \ "${S}"/Makefile.in "${S}"/base/*.mak || die "sed failed" cd "${S}" || die + # remove incorrect symlink, bug 590384 + rm -f ijs/ltmain.sh || die eautoreconf cd "${S}/ijs" || die @@ -158,7 +160,7 @@ src_configure() { /usr/share/poppler/cMap/Adobe-Japan2 \ /usr/share/poppler/cMap/Adobe-Korea1 do - FONTPATH="$FONTPATH${FONTPATH:+:}$path" + FONTPATH="$FONTPATH${FONTPATH:+:}${EPREFIX}$path" done # We force the endian configure flags until this is fixed: |