dev-lang/smlnj: fix asdl autoconf script

Closes: https://bugs.gentoo.org/835555
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2022-03-19 12:56:34 +01:00
parent 126db71520
commit 277a2fc803

View File

@@ -78,6 +78,9 @@ src_unpack() {
mkdir base || die # without this unpacking runtime will fail
./config/unpack "${S}" runtime || die
# Unpack asdl to fix autoconf linker check
unpack "${S}"/asdl.tgz
}
src_prepare() {
@@ -97,6 +100,7 @@ src_prepare() {
-i base/runtime/objs/makefile || die
sed -i "s|nm |$(tc-getNM) |g" config/chk-global-names.sh || die
sed -i "/^AC_PATH_PROG/s|\[ld\]|\[$(tc-getLD)\]|" asdl/configure.ac || die
}
src_compile() {