commit:     801c22f60d2525a87aef6cf66114de19e4130541
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 19 23:15:08 2020 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Aug 19 23:15:08 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=801c22f6

net-misc/wol: don't call directly ar

Closes: https://bugs.gentoo.org/725186
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 net-misc/wol/wol-0.7.1-r2.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/net-misc/wol/wol-0.7.1-r2.ebuild b/net-misc/wol/wol-0.7.1-r2.ebuild
index 27e01462efd..8ee1f1db407 100644
--- a/net-misc/wol/wol-0.7.1-r2.ebuild
+++ b/net-misc/wol/wol-0.7.1-r2.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
+inherit toolchain-funcs
+
 DESCRIPTION="Implements Wake On LAN (Magic Paket) functionality in a small 
program"
 HOMEPAGE="http://ahh.sourceforge.net/wol/";
 SRC_URI="mirror://sourceforge/ahh/${P}.tar.gz"
@@ -20,3 +22,7 @@ src_configure() {
 
        econf ${myeconfargs[@]}
 }
+
+src_compile() {
+       emake AR="$(tc-getAR)"
+}

Reply via email to