summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-12-14 16:01:09 +0100
committerThomas Deutschmann <whissi@gentoo.org>2020-12-14 16:01:09 +0100
commit1155fe4cdeadd1eda2a31c4862f637fc6fcc9739 (patch)
tree2bd2dab41c9b07d527be6bea1504cfe111591c09 /app-text
parentapp-text/ghostscript-gpl: fix ps2epsi (diff)
downloadgentoo-1155fe4cdeadd1eda2a31c4862f637fc6fcc9739.tar.gz
gentoo-1155fe4cdeadd1eda2a31c4862f637fc6fcc9739.tar.bz2
gentoo-1155fe4cdeadd1eda2a31c4862f637fc6fcc9739.zip
app-text/ghostscript-gpl: fix path
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r3.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r3.ebuild b/app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r3.ebuild
index 85e67bcb90fe..eeee98137748 100644
--- a/app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r3.ebuild
+++ b/app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r3.ebuild
@@ -107,7 +107,7 @@ src_prepare() {
# search path fix
# put LDFLAGS after BINDIR, bug #383447
- sed -e "s:\$\(gsdatadir\)/lib:@datarootdir@/ghostscript/${PVM}/$(get_libdir):" \
+ sed -e "s:\$\(gsdatadir\)/lib:@datarootdir@/ghostscript/${PV}/$(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:" \
@@ -183,7 +183,7 @@ src_install() {
emake DESTDIR="${D}" install
# install the CMaps from poppler-data properly, bug #409361
- dosym ../../../poppler/cMaps "/usr/share/ghostscript/${PVM}/Resource/CMap"
+ dosym ../../../poppler/cMaps "/usr/share/ghostscript/${PV}/Resource/CMap"
# ps2epsi requires ps2epsi.ps in same directory, bug #749399
dosym "../share/ghostscript/${PV}/lib/ps2epsi.ps" /usr/bin/ps2epsi.ps