[89288] trunk/dports/science/alliance/Portfile

and.damore at macports.org and.damore at macports.org
Mon Jan 23 02:35:11 PST 2012


Revision: 89288
          http://trac.macports.org/changeset/89288
Author:   and.damore at macports.org
Date:     2012-01-23 02:35:07 -0800 (Mon, 23 Jan 2012)
Log Message:
-----------
port alliance: removing unneeded clause in compile fix, adding a note about the issue, using "compiler_issue" as mark for quick reference in future search

Modified Paths:
--------------
    trunk/dports/science/alliance/Portfile

Modified: trunk/dports/science/alliance/Portfile
===================================================================
--- trunk/dports/science/alliance/Portfile	2012-01-23 06:52:54 UTC (rev 89287)
+++ trunk/dports/science/alliance/Portfile	2012-01-23 10:35:07 UTC (rev 89288)
@@ -34,10 +34,14 @@
 configure.env-append  YACC='/usr/bin/yacc'
 destroot.env-append YACC='/usr/bin/yacc'
 
-if {${configure.compiler} == "clang" ||
-    ${configure.compiler} == "llvm-gcc-4.2"} {
+# compiler_issue
+# this port is broken with clang and llvm - cf. http://trac.macports.org/ticket/32947
+#
+# even adding -Wno-return-type to clang's CFLAGS doesn't make compiler correctly export
+# symbols in nero/src/MDRGrid.o thus leading in a undef symbol at link time
+if {${configure.compiler} == "clang" || ${configure.compiler} == "llvm-gcc-4.2"} {
     configure.compiler gcc-4.2
-    if {[vercmp $xcodeversion 4.2] >= 0 || ![file executable ${configure.cc}]} {
+    if {[vercmp $xcodeversion 4.2] >= 0} {
         depends_build-append port:apple-gcc42
         configure.compiler apple-gcc-4.2
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120123/53f4100a/attachment.html>


More information about the macports-changes mailing list