summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2019-03-01 11:18:53 +0100
committerMichael Haubenwallner <haubi@gentoo.org>2019-03-01 12:21:26 +0100
commit5ed4c125236c13c1af4725a26a5ba590c4ddb77c (patch)
treeb5a4246be7ee99589b620175b63305ba88e01fb6 /app-text/docbook-xsl-stylesheets
parentmail-mta/postfix: bump to 3.5_pre20190219 (diff)
downloadgentoo-5ed4c125236c13c1af4725a26a5ba590c4ddb77c.tar.gz
gentoo-5ed4c125236c13c1af4725a26a5ba590c4ddb77c.tar.bz2
gentoo-5ed4c125236c13c1af4725a26a5ba590c4ddb77c.zip
app-text/docbook-xsl-stylesheets: really fix prefix support
Closes: https://bugs.gentoo.org/676646 Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
Diffstat (limited to 'app-text/docbook-xsl-stylesheets')
-rw-r--r--app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.79.1-r2.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.79.1-r2.ebuild b/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.79.1-r2.ebuild
index fcf22a767521..b27d94203d37 100644
--- a/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.79.1-r2.ebuild
+++ b/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.79.1-r2.ebuild
@@ -6,7 +6,7 @@ USE_RUBY="ruby22 ruby23 ruby24 ruby25"
inherit ruby-single
-DOCBOOKDIR="${EPREFIX}/usr/share/sgml/${PN/-//}"
+DOCBOOKDIR="/usr/share/sgml/${PN/-//}"
MY_PN="${PN%-stylesheets}"
MY_P="${MY_PN}-${PV}"
@@ -84,12 +84,12 @@ src_install() {
# we can't use a symlink or it'll look for the library in the
# wrong path.
dodir /usr/bin
- cat - > "${D}"${EPREFIX}/usr/bin/${cmd} <<EOF
+ cat - > "${ED%/}"/usr/bin/${cmd} <<EOF
#!/usr/bin/env ruby
-load "${DOCBOOKDIR}/epub/bin/dbtoepub"
+load "${EPREFIX}${DOCBOOKDIR}/epub/bin/dbtoepub"
EOF
- fperms 0755 ${EPREFIX}/usr/bin/${cmd}
+ fperms 0755 /usr/bin/${cmd}
fi
}