summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-03-18 09:34:14 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-03-18 09:35:57 +0100
commit3af0f070a98315dc607d7cb419e4a64389e572d6 (patch)
tree8a25fa4c733091e3e2bb00b4a4b1b26e9f334ad1 /dev-lang/smlnj
parentdev-python/argon2-cffi: Stabilize 21.3.0-r2 arm, #835177 (diff)
downloadgentoo-3af0f070a98315dc607d7cb419e4a64389e572d6.tar.gz
gentoo-3af0f070a98315dc607d7cb419e4a64389e572d6.tar.bz2
gentoo-3af0f070a98315dc607d7cb419e4a64389e572d6.zip
dev-lang/smlnj: call correct AR
Closes: https://bugs.gentoo.org/827972 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/smlnj')
-rw-r--r--dev-lang/smlnj/smlnj-110.99.2.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-lang/smlnj/smlnj-110.99.2.ebuild b/dev-lang/smlnj/smlnj-110.99.2.ebuild
index 247d06dc4ca7..d3715629848a 100644
--- a/dev-lang/smlnj/smlnj-110.99.2.ebuild
+++ b/dev-lang/smlnj/smlnj-110.99.2.ebuild
@@ -90,6 +90,7 @@ src_prepare() {
-e "/^CFLAGS/{s|-O[0123s]|| ; s|=|= ${CFLAGS}|}" \
-i base/runtime/objs/mk.* || die
+ sed -i "/^AR/s|ar|$(tc-getAR)|" base/runtime/objs/makefile || die
sed -i "s|nm |$(tc-getNM) |g" config/chk-global-names.sh || die
}