summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2022-01-23 11:58:29 +0100
committerSam James <sam@gentoo.org>2022-01-28 07:58:59 +0000
commit5c8432fdaaf5e7b2def678b49a89c91e6e24919c (patch)
tree3f6f9a9089a01e09b2774d6eaaf6e47dad5ae547
parentdev-libs/skalibs: add myself as a proxy maintainer (diff)
downloadgentoo-5c8432fdaaf5e7b2def678b49a89c91e6e24919c.tar.gz
gentoo-5c8432fdaaf5e7b2def678b49a89c91e6e24919c.tar.bz2
gentoo-5c8432fdaaf5e7b2def678b49a89c91e6e24919c.zip
dev-lang/execline: respect AR, CC and RANLIB
Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-lang/execline/execline-2.6.1.1.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-lang/execline/execline-2.6.1.1.ebuild b/dev-lang/execline/execline-2.6.1.1.ebuild
index e932435f75e..26c92c8e38a 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) \