commit:     dbf85f41acd321596346990ac195a141078a60aa
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 23 18:33:26 2020 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Nov 24 11:03:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbf85f41

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 <AT> gentoo.org>

 app-editors/emacs/emacs-18.59-r13.ebuild | 6 +++---
 1 file 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 4f56535c58d..8b1d8fc4bd2 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

Reply via email to