From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4998E13835A for ; Wed, 1 Jul 2020 06:39:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4FEB8E0903; Wed, 1 Jul 2020 06:39:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 35392E0903 for ; Wed, 1 Jul 2020 06:39:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7404234F165 for ; Wed, 1 Jul 2020 06:39:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 47ACC2C5 for ; Wed, 1 Jul 2020 06:39:08 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1593585511.6c35e0080c2fcd69c99bee94e7d96c82d555558a.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/freeradius-client/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild X-VCS-Directories: net-dialup/freeradius-client/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 6c35e0080c2fcd69c99bee94e7d96c82d555558a X-VCS-Branch: master Date: Wed, 1 Jul 2020 06:39:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e98ef2d1-c015-4a0b-b724-d2c358d60c26 X-Archives-Hash: e071a3b3f525e1dde2d25ab38f61149a commit: 6c35e0080c2fcd69c99bee94e7d96c82d555558a Author: Alarig Le Lay swordarmor fr> AuthorDate: Tue Jun 16 10:31:20 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Jul 1 06:38:31 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c35e008 net-dialup/freeradius-client: Avoid calling ar directly Closes: https://bugs.gentoo.org/728332 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alarig Le Lay swordarmor.fr> Closes: https://github.com/gentoo/gentoo/pull/16269 Signed-off-by: Joonas Niilola gentoo.org> net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild index f9ac8661b09..0b182155d46 100644 --- a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild +++ b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools +inherit autotools toolchain-funcs DESCRIPTION="FreeRADIUS Client framework" HOMEPAGE="https://wiki.freeradius.org/project/Radiusclient" @@ -31,12 +31,19 @@ src_prepare() { } src_configure() { + tc-export AR + local myeconfargs=( $(use_enable scp) $(use_enable shadow) --with-secure-path ) econf "${myeconfargs[@]}" + + for MAKEFILE in $(find -name Makefile) libtool; do + sed -i "s|/usr/bin/ar|${AR}|" "${MAKEFILE}" || \ + die "Patching ${MAKEFILE} for ${AR} failed" + done } src_install() {