summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2022-01-23 15:28:46 +0100
committerSam James <sam@gentoo.org>2022-01-28 07:59:14 +0000
commit781ebb25b6348acedaafc64f75804fc6e4a87f2e (patch)
treeb0ca89ffc5654514993b9b52d89d8d746fcf6fe9 /sys-apps
parentsys-apps/s6-linux-init: drop 0.3.1.1, 0.4.0.0, 1.0.2.0, 1.0.3.1 (diff)
downloadgentoo-781ebb25b6348acedaafc64f75804fc6e4a87f2e.tar.gz
gentoo-781ebb25b6348acedaafc64f75804fc6e4a87f2e.tar.bz2
gentoo-781ebb25b6348acedaafc64f75804fc6e4a87f2e.zip
sys-apps/s6-linux-init: respect AR, CC and RANLIB
Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/s6-linux-init/s6-linux-init-1.0.4.2.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys-apps/s6-linux-init/s6-linux-init-1.0.4.2.ebuild b/sys-apps/s6-linux-init/s6-linux-init-1.0.4.2.ebuild
index fac1fd9f99a1..05713a2616fc 100644
--- a/sys-apps/s6-linux-init/s6-linux-init-1.0.4.2.ebuild
+++ b/sys-apps/s6-linux-init/s6-linux-init-1.0.4.2.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+inherit toolchain-funcs
+
DESCRIPTION="Generates an init binary for s6-based init systems"
HOMEPAGE="https://www.skarnet.org/software/s6-linux-init/"
SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz"
@@ -32,9 +34,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) \