commit:     1155fe4cdeadd1eda2a31c4862f637fc6fcc9739
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 14 15:01:09 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Dec 14 15:01:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1155fe4c

app-text/ghostscript-gpl: fix path

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 app-text/ghostscript-gpl/ghostscript-gpl-9.53.3-r3.ebuild | 4 ++--
 1 file 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 85e67bcb90f..eeee9813774 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

Reply via email to