commit:     d937c1f2d37ccf9dc15440ef5ee75a3d827ba25d
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 13 09:57:09 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Sep 13 09:57:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d937c1f2

sys-devel/m4: fix gm4 symlink target, thanks Alexey

Closes: https://bugs.gentoo.org/737152
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 sys-devel/m4/m4-1.4.17.ebuild    | 2 +-
 sys-devel/m4/m4-1.4.18-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-devel/m4/m4-1.4.17.ebuild b/sys-devel/m4/m4-1.4.17.ebuild
index 3a43b7f22c9..050ae8bdbc3 100644
--- a/sys-devel/m4/m4-1.4.17.ebuild
+++ b/sys-devel/m4/m4-1.4.17.ebuild
@@ -45,7 +45,7 @@ src_install() {
        default
        # autoconf-2.60 for instance, first checks gm4, then m4.  If we don't 
have
        # gm4, it might find gm4 from outside the prefix on for instance Darwin
-       use prefix && dosym /usr/bin/m4 /usr/bin/gm4
+       use prefix && dosym "${EPREFIX}"/usr/bin/m4 /usr/bin/gm4
        if use examples ; then
                docinto examples
                dodoc examples/*

diff --git a/sys-devel/m4/m4-1.4.18-r1.ebuild b/sys-devel/m4/m4-1.4.18-r1.ebuild
index 86df616fd31..c7f8a66b255 100644
--- a/sys-devel/m4/m4-1.4.18-r1.ebuild
+++ b/sys-devel/m4/m4-1.4.18-r1.ebuild
@@ -40,7 +40,7 @@ src_install() {
        default
        # autoconf-2.60 for instance, first checks gm4, then m4.  If we don't 
have
        # gm4, it might find gm4 from outside the prefix on for instance Darwin
-       use prefix && dosym /usr/bin/m4 /usr/bin/gm4
+       use prefix && dosym "${EPREFIX}"/usr/bin/m4 /usr/bin/gm4
        if use examples ; then
                docinto examples
                dodoc -r examples/

Reply via email to