diff options
author | Petr Vaněk <arkamar@atlas.cz> | 2022-01-23 11:43:45 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-01-28 07:58:57 +0000 |
commit | dd86f0780cc7056b86aef66380aba28a67e5af97 (patch) | |
tree | ffca93f86b581b0274ab176ba36f1d05a16e4641 | |
parent | net-analyzer/snort: fix ip path (diff) | |
download | gentoo-dd86f0780cc7056b86aef66380aba28a67e5af97.tar.gz gentoo-dd86f0780cc7056b86aef66380aba28a67e5af97.tar.bz2 gentoo-dd86f0780cc7056b86aef66380aba28a67e5af97.zip |
dev-libs/skalibs: 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-libs/skalibs/skalibs-2.9.3.0.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-libs/skalibs/skalibs-2.9.3.0.ebuild b/dev-libs/skalibs/skalibs-2.9.3.0.ebuild index 116469617d0d..f0f4d42d722a 100644 --- a/dev-libs/skalibs/skalibs-2.9.3.0.ebuild +++ b/dev-libs/skalibs/skalibs-2.9.3.0.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="General-purpose libraries from skarnet.org" HOMEPAGE="https://www.skarnet.org/software/skalibs/" SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz" @@ -20,9 +22,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 \ --datadir=/etc \ --dynlibdir=/usr/$(get_libdir) \ |