From 5c8432fdaaf5e7b2def678b49a89c91e6e24919c Mon Sep 17 00:00:00 2001 From: Petr Vaněk Date: Sun, 23 Jan 2022 11:58:29 +0100 Subject: dev-lang/execline: respect AR, CC and RANLIB MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Petr Vaněk Signed-off-by: Sam James --- dev-lang/execline/execline-2.6.1.1.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-lang/execline/execline-2.6.1.1.ebuild b/dev-lang/execline/execline-2.6.1.1.ebuild index e932435f75ec..26c92c8e38af 100644 --- a/dev-lang/execline/execline-2.6.1.1.ebuild +++ b/dev-lang/execline/execline-2.6.1.1.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 +inherit toolchain-funcs + DESCRIPTION="A non-interactive scripting language" HOMEPAGE="https://www.skarnet.org/software/execline/" SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz" @@ -25,9 +27,13 @@ src_prepare() { # Avoid QA warning for LDFLAGS addition; avoid overriding -fstack-protector sed -i -e 's/.*-Wl,--hash-style=both$/:/' -e '/-fno-stack-protector$/d' \ configure || die + + sed -i -e '/AR := /d' -e '/RANLIB := /d' Makefile || die } src_configure() { + tc-export AR CC RANLIB + econf \ --bindir=/bin \ --dynlibdir=/usr/$(get_libdir) \ -- cgit v1.2.3-65-gdbad