[87257] trunk/dports/lang/erlang/Portfile
bfulgham at macports.org
bfulgham at macports.org
Mon Nov 14 22:06:18 PST 2011
Revision: 87257
http://trac.macports.org/changeset/87257
Author: bfulgham at macports.org
Date: 2011-11-14 22:06:13 -0800 (Mon, 14 Nov 2011)
Log Message:
-----------
Add a dist_subdir stanza to override the caching of files from erlang.org by
the Macports serverr, closes 31542.
Add Clang override to use llvm-gcc front-end to avoid lock-up (in some cases)
and missing symbol (_bp_sched2ix) in others, closes 31585.
Modified Paths:
--------------
trunk/dports/lang/erlang/Portfile
Modified: trunk/dports/lang/erlang/Portfile
===================================================================
--- trunk/dports/lang/erlang/Portfile 2011-11-15 04:45:02 UTC (rev 87256)
+++ trunk/dports/lang/erlang/Portfile 2011-11-15 06:06:13 UTC (rev 87257)
@@ -30,6 +30,8 @@
homepage http://www.erlang.org/
master_sites http://www.erlang.org/download/ \
http://www.erlang.org/download/patches/:patches
+# The following line works around Erlang's stealth upgrade of the HTML tarball
+dist_subdir ${name}/${version}_1
# Parallel build doesn't work as per R13B01
use_parallel_build no
@@ -47,8 +49,8 @@
sha1 41f4ea59c9622e39b30882e173983252b6faca81 \
rmd160 420d89fd32f2851253a5cef124ced50851dc2bb0 \
otp_doc_html_R14B04.tar.gz \
- sha1 f70762b30aa37aa677c4055060366006a9800af2 \
- rmd160 c748140ee1fc2f3d5d9e9c0f5b643808a626b2f1
+ sha1 86f76adee9bf953e5578d7998fda9e7dfc0d43f5 \
+ rmd160 0e44a933ae35fe95d1ecd9958c9e86ce398e259f
pre-patch { file rename ${workpath}/otp_src_${version} ${workpath}/${name}-${version} }
@@ -110,6 +112,12 @@
# This is a workaround.
#patchfiles-append patch-erts_emulator_sys_unix_ddll.c.diff
configure.ldflags-append -framework CoreFoundation
+
+ # Erlang seems to have an on-again/off-again relationship with Clang.
+ # As of XCode 4.2, it's off again.
+ if {${configure.compiler} == "clang"} {
+ configure.compiler llvm-gcc-4.2
+ }
}
platform macosx {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111114/9f2d3419/attachment.html>
More information about the macports-changes
mailing list