summaryrefslogtreecommitdiff
path: root/dev-lang/smlnj
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/smlnj')
-rw-r--r--dev-lang/smlnj/Manifest2
-rw-r--r--dev-lang/smlnj/smlnj-110.99.2.ebuild10
2 files changed, 11 insertions, 1 deletions
diff --git a/dev-lang/smlnj/Manifest b/dev-lang/smlnj/Manifest
index 417e6c84c1eb..109fa50c2a93 100644
--- a/dev-lang/smlnj/Manifest
+++ b/dev-lang/smlnj/Manifest
@@ -52,5 +52,5 @@ DIST smlnj-110.99.2-smlnj-lib.tgz 790390 BLAKE2B 8194c48196e5e58eb22e6f4f1a91b7b
DIST smlnj-110.99.2-system.tgz 281742 BLAKE2B c9af6495f6991cd9e6768ceab1c8841e30ba83d981e2b8b0482851c8cca9db548e22a2abce2ee0764e4e5ad37723d5819e4e44c91e4e69a4b353327e6ea55769 SHA512 aa27b46301ddfe3f6bf26e04a3763c52b016435d7aa9142f30300b026d2587cd85c84992084c2d9cd1a2dd90b1b82897fb106067aff0d16207050302ba985421
DIST smlnj-110.99.2-trace-debug-profile.tgz 3921 BLAKE2B ebc7d3270bcee5464c7eb5a70c851d865ffbf2ba31a084b61074ffe22f7d97c255fe4584fdbf491c7d5e2db65e3efb5648eb5995b81561cdfee152ae8b31c859 SHA512 e1fd41e15934eda2d33b69d21eeb582306dfc09576cc7f69f72cbc599e4b321c453327a7cc31f4689e6d3d87b2fc0453817ef696e565dff4d7ef4c1e18e31c29
EBUILD smlnj-110.82.ebuild 4197 BLAKE2B 5d6e3b0367d5a358b3c5dac4f5bf92892a1e90baaa8a41cb18329aa1bee05de9e3dfa98f6fa802f5ca59285d1b56a6f9d13f393437f2c2dffdd6661257ee3277 SHA512 f65cd61072960aef6a294c8da5e3af18ff4d60634a830859ee533908999dc4c6320d117eb65ff3bdc01bb30612a8a6e896b8481bb4deca5acfdbaf5e994492a6
-EBUILD smlnj-110.99.2.ebuild 2725 BLAKE2B 8b6ce63bc5f8daf83d0766fc6e74f53dd056ecd61bdacaf79fbb6f9e20274dda765ea731f0154653bc82d078ea085231769ae35f6cfc4d4eb0b45184baedf3cd SHA512 31be42bd6a2d52ca91fac230c9e31be8c796046868e2d5b13b1c77b06a07dddc056e35c4c4be9e51a512b5d2558f15b3987e6daa91f921ccc8dffd910e08dfb7
+EBUILD smlnj-110.99.2.ebuild 3092 BLAKE2B f0550382f25b066afb5ca746779c1e0922b396f20c515a1d9e6e34ec434047cdc347ce84b12141a3703e6220476779f15ae323b466a33b497ec4a3050e732b59 SHA512 f8da6f71b600ad6ea53c79a88d2e4af0bd44acb30399b77d96bb554993d3e6743bdeff7f58dca83db7b11f26f8ac82e64fad85b4fc5615d3debf2f8334ba75b5
MISC metadata.xml 628 BLAKE2B 09cedb6a5ca151cfc4ac25fd187995cb2295e8aeb45f1f01741de7e01ca84a57ef060630db3a769983c41d7d290445f8b2ba88cfbbb2d8d983b06403bb505b8b SHA512 1df6d363a4d7a1a96035e24280f11a1fa78a34c464df4025c2e2a1f1e1768f1f0aab3d48741316428bd27c17bc457ea3a5882a202b8d510b2c5f28c83943a79e
diff --git a/dev-lang/smlnj/smlnj-110.99.2.ebuild b/dev-lang/smlnj/smlnj-110.99.2.ebuild
index 247d06dc4ca7..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() {
@@ -89,8 +92,15 @@ src_prepare() {
-e "/^CPP/s|gcc|$(tc-getCC)|" \
-e "/^CFLAGS/{s|-O[0123s]|| ; s|=|= ${CFLAGS}|}" \
-i base/runtime/objs/mk.* || die
+ sed -e "/^AS/s|as|$(tc-getAS)|" \
+ -e "/^AR/s|ar|$(tc-getAR)|" \
+ -e "/^CC/s|cc|$(tc-getCC)|" \
+ -e "/^CPP/s|/lib/cpp|$(tc-getCPP)|" \
+ -e "/^RANLIB/s|ranlib|$(tc-getRANLIB)|" \
+ -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() {