summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-03-19 12:56:34 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-03-19 12:56:55 +0100
commit277a2fc803a93dfec9e65ef5c79ef60d6dddf5ac (patch)
tree6dbddf367ea9568b6afd05d9eda6964a0cb634c3 /dev-lang/smlnj
parentnet-im/skypeforlinux: drop 8.78.0.161-r2 (diff)
downloadgentoo-277a2fc803a93dfec9e65ef5c79ef60d6dddf5ac.tar.gz
gentoo-277a2fc803a93dfec9e65ef5c79ef60d6dddf5ac.tar.bz2
gentoo-277a2fc803a93dfec9e65ef5c79ef60d6dddf5ac.zip
dev-lang/smlnj: fix asdl autoconf script
Closes: https://bugs.gentoo.org/835555 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/smlnj')
-rw-r--r--dev-lang/smlnj/smlnj-110.99.2.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-lang/smlnj/smlnj-110.99.2.ebuild b/dev-lang/smlnj/smlnj-110.99.2.ebuild
index 4ecbd1aa8d77..9186f5e6aefb 100644
--- a/dev-lang/smlnj/smlnj-110.99.2.ebuild
+++ b/dev-lang/smlnj/smlnj-110.99.2.ebuild
@@ -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() {