summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2020-11-23 19:33:26 +0100
committerUlrich Müller <ulm@gentoo.org>2020-11-24 12:03:34 +0100
commitdbf85f41acd321596346990ac195a141078a60aa (patch)
treeee5398ef0101eb45867c1c288f615b4c317d693e /app-editors
parentdev-tex/frakturx: Use eapi8-dosym.eclass for relative symlinks. (diff)
downloadgentoo-dbf85f41acd321596346990ac195a141078a60aa.tar.gz
gentoo-dbf85f41acd321596346990ac195a141078a60aa.tar.bz2
gentoo-dbf85f41acd321596346990ac195a141078a60aa.zip
app-editors/emacs: Use eapi8-dosym.eclass for relative symlinks.
Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/emacs/emacs-18.59-r13.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/app-editors/emacs/emacs-18.59-r13.ebuild b/app-editors/emacs/emacs-18.59-r13.ebuild
index 4f56535c58dd..8b1d8fc4bd28 100644
--- a/app-editors/emacs/emacs-18.59-r13.ebuild
+++ b/app-editors/emacs/emacs-18.59-r13.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit toolchain-funcs flag-o-matic multilib
+inherit toolchain-funcs flag-o-matic multilib eapi8-dosym
DESCRIPTION="The extensible self-documenting text editor"
HOMEPAGE="https://www.gnu.org/software/emacs/"
@@ -123,7 +123,7 @@ src_install() {
yow env server
do
mv "${D}"${basedir}/etc/${i} "${D}"/usr/libexec/emacs/${PV}/${i} || die
- dosym ../../../../libexec/emacs/${PV}/${i} ${basedir}/etc/${i}
+ dosym8 -r /usr/libexec/emacs/${PV}/${i} ${basedir}/etc/${i}
done
for i in test-distrib make-docfile; do
rm "${D}"${basedir}/etc/${i} || die
@@ -135,7 +135,7 @@ src_install() {
# move Info files
dodir /usr/share/info
mv "${D}"${basedir}/info "${D}"/usr/share/info/emacs-${SLOT} || die
- dosym ../../info/emacs-${SLOT} "${basedir}"/info
+ dosym8 -r /usr/share/info/emacs-${SLOT} ${basedir}/info
docompress -x /usr/share/info
# move Info dir to avoid collisions with the dir file generated by portage