From d937c1f2d37ccf9dc15440ef5ee75a3d827ba25d Mon Sep 17 00:00:00 2001
From: Fabian Groffen <grobian@gentoo.org>
Date: Sun, 13 Sep 2020 11:57:09 +0200
Subject: 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@gentoo.org>
---
 sys-devel/m4/m4-1.4.17.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'sys-devel/m4/m4-1.4.17.ebuild')

diff --git a/sys-devel/m4/m4-1.4.17.ebuild b/sys-devel/m4/m4-1.4.17.ebuild
index 3a43b7f22c9e..050ae8bdbc38 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/*
-- 
cgit v1.2.3-65-gdbad