summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2020-05-24 11:56:55 +0200
committerCédric Krier <cedk@gentoo.org>2020-05-24 11:57:59 +0200
commit319dcf7cca07d9a6663245a459ab49062be730c6 (patch)
tree4425833731b0def8ba27f9884ff11ca371e82ccb
parentnet-irc/iroffer-dinoex: respect CC (diff)
downloadgentoo-319dcf7cca07d9a6663245a459ab49062be730c6.tar.gz
gentoo-319dcf7cca07d9a6663245a459ab49062be730c6.tar.bz2
gentoo-319dcf7cca07d9a6663245a459ab49062be730c6.zip
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 <cedk@gentoo.org>
-rw-r--r--dev-libs/stfl/stfl-0.24-r2.ebuild (renamed from dev-libs/stfl/stfl-0.24-r1.ebuild)4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-libs/stfl/stfl-0.24-r1.ebuild b/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\>/$(AR)/' \
+ -e 's/\<ranlib\>/$(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"