summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2022-01-23 16:04:32 +0100
committerSam James <sam@gentoo.org>2022-01-28 07:59:17 +0000
commit560bc3b5618c9966fc3320020ede4dd35d279ae7 (patch)
tree6919c54196aa34967d0246b839d7a4624b872607 /net-dns
parentnet-dns/s6-dns: drop 2.2.0.1, 2.3.0.0, 2.3.0.1, 2.3.0.2, 2.3.1.1 (diff)
downloadgentoo-560bc3b5618c9966fc3320020ede4dd35d279ae7.tar.gz
gentoo-560bc3b5618c9966fc3320020ede4dd35d279ae7.tar.bz2
gentoo-560bc3b5618c9966fc3320020ede4dd35d279ae7.zip
net-dns/s6-dns: 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 'net-dns')
-rw-r--r--net-dns/s6-dns/s6-dns-2.3.3.0.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-dns/s6-dns/s6-dns-2.3.3.0.ebuild b/net-dns/s6-dns/s6-dns-2.3.3.0.ebuild
index 879134405322..fbb637b2de30 100644
--- a/net-dns/s6-dns/s6-dns-2.3.3.0.ebuild
+++ b/net-dns/s6-dns/s6-dns-2.3.3.0.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+inherit toolchain-funcs
+
DESCRIPTION="Suite of DNS client programs and libraries for Unix systems"
HOMEPAGE="https://www.skarnet.org/software/s6-dns/"
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) \