[101618] trunk/dports/aqua/qt4-mac/Portfile
michaelld at macports.org
michaelld at macports.org
Mon Jan 14 18:30:40 PST 2013
Revision: 101618
https://trac.macports.org/changeset/101618
Author: michaelld at macports.org
Date: 2013-01-14 18:30:40 -0800 (Mon, 14 Jan 2013)
Log Message:
-----------
qt4-mac : correct way to blacklist various clang compilers
Modified Paths:
--------------
trunk/dports/aqua/qt4-mac/Portfile
Modified: trunk/dports/aqua/qt4-mac/Portfile
===================================================================
--- trunk/dports/aqua/qt4-mac/Portfile 2013-01-15 02:26:27 UTC (rev 101617)
+++ trunk/dports/aqua/qt4-mac/Portfile 2013-01-15 02:30:40 UTC (rev 101618)
@@ -8,6 +8,7 @@
set building_qt4 1
PortGroup qt4 1.0
PortGroup xcodeversion 1.0
+PortGroup compiler_blacklist_versions 1.0
name qt4-mac
# qt4-mac-devel is "replaced_by" this port,
@@ -338,17 +339,15 @@
# The build process uses -fconstant-cfstrings.
# configure.compiler should therefore not be one of the MacPorts compilers.
-# Qt4 does not compile with clang 3.0 or older; it also does not work
-# with Apple's clang from XCode 4.4 or older, or as installed on Mac
-# OS X 10.7 or earlier. Block the clang versions, both from Apple and
-# MacPorts, and that don't meet these requirements.
-#
-# http://llvm.org/bugs/show_bug.cgi?id=8971, # #30271, #31076, #31638
+# Some older versions of Clang do not honor CPATH or LIBRARY_PATH,
+# which are required for compiling this port. The versions seem to
+# be: MacPorts Clang 3.0 or earlier, and Apple Clang 318.0.58 or
+# older. Block these.
-compiler.blacklist { macports-clang-2.9 macports-clang-3.0 }
-if {[vercmp $xcodeversion 4.4] <= 0 || $MINOR <= 7} {
- compiler.blacklist-append clang
-}
+compiler.blacklist \
+ macports-clang-2.9 \
+ macports-clang-3.0 \
+ { clang <= 318.0.58 }
# --prefix is not recognized.
configure.pre_args-delete --prefix=${prefix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130114/475673c7/attachment.html>
More information about the macports-changes
mailing list