[87278] trunk/dports/lang/erlang/Portfile
bfulgham at macports.org
bfulgham at macports.org
Tue Nov 15 21:35:15 PST 2011
Revision: 87278
http://trac.macports.org/changeset/87278
Author: bfulgham at macports.org
Date: 2011-11-15 21:35:14 -0800 (Tue, 15 Nov 2011)
Log Message:
-----------
Revise build to account for pre-Lion operating system revisions.
Modified Paths:
--------------
trunk/dports/lang/erlang/Portfile
Modified: trunk/dports/lang/erlang/Portfile
===================================================================
--- trunk/dports/lang/erlang/Portfile 2011-11-16 03:20:23 UTC (rev 87277)
+++ trunk/dports/lang/erlang/Portfile 2011-11-16 05:35:14 UTC (rev 87278)
@@ -73,6 +73,12 @@
# ${prefix}/lib/erlang/erts-5.8.4/bin/beam.smp links with ncurses
depends_lib port:ncurses
+# 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
+}
+
post-destroot {
system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_html_${version}${extract.suffix}"
system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_man_${version}${extract.suffix}"
@@ -112,12 +118,6 @@
# 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/20111115/1745f725/attachment.html>
More information about the macports-changes
mailing list