From: Cédric Krier Date: Sun, 24 May 2020 09:56:55 +0000 (+0200) Subject: dev-libs/stfl: respects AR and RANLIB X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=319dcf7cca07d9a6663245a459ab49062be730c6;p=gentoo.git dev-libs/stfl: respects AR and RANLIB Closes: https://bugs.gentoo.org/723138 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Cédric Krier --- diff --git a/dev-libs/stfl/stfl-0.24-r1.ebuild b/dev-libs/stfl/stfl-0.24-r2.ebuild similarity index 95% rename from dev-libs/stfl/stfl-0.24-r1.ebuild rename to dev-libs/stfl/stfl-0.24-r2.ebuild index 1dc128d1c53e..97e5592ed6e7 100644 --- a/dev-libs/stfl/stfl-0.24-r1.ebuild +++ b/dev-libs/stfl/stfl-0.24-r2.ebuild @@ -42,6 +42,8 @@ src_prepare() { -e 's/$(CC) -shared/$(CC) $(LDFLAGS) -shared/' \ -e 's/ -o $@ $(LDLIBS) $^/ $^ $(LDLIBS) -o $@/' \ -e 's/-lncursesw/-lncursesw -pthread/' \ + -e 's/\/$(AR)/' \ + -e 's/\/$(RANLIB)/' \ Makefile || die "sed failed" if ! use static-libs ; then @@ -66,7 +68,7 @@ src_prepare() { src_configure() { :; } src_compile() { - emake CC="$(tc-getCC)" + emake CC="$(tc-getCC)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" if use python ; then local BUILD_DIR="${S}/python"