[101393] trunk/dports/aqua/qt4-mac/Portfile

Ryan Schmidt ryandesign at macports.org
Sun Jan 13 15:58:47 PST 2013


On Jan 10, 2013, at 15:17, Michael Dickens <michaelld at macports.org> wrote:

> On Jan 10, 2013, at 1:19 PM, Ryan Schmidt <ryandesign at macports.org>
> wrote:
>> you should not be blacklisting clang based on Xcode or OS version, but based on clang version. Please use the compiler_blacklist_versions portgroup for this.
> 
> OK; so I added:
> 
> {{{
> PortGroup           compiler_blacklist_versions 1.0
> }}}
> 
> and then
> 
> {{{
> compiler.blacklist-append { macports-clang-2.9 macports-clang-3.0 }

compiler.blacklist is a MacPorts "option", just like configure.args or depends_lib. There shouldn't be any curly braces here. Using braces means you're adding the single item "macports-clang-2.9 macports-clang-3.0" to the list which is not what you want. You want to add the two items "macports-clang-2.9" and "macports-clang-3.0":

compiler.blacklist-append macports-clang-2.9 macports-clang-3.0


> compiler.blacklist-append { clang <= 318.0.58 }

This is correct.


> {{{
> Error: Unable to open port: can't set "compiler.blacklist": don't know
> how to determine build number of compiler "macports-clang-2.9"
> }}}
> 
> which hangs, is not recoverable (e.g., ^c or ^z), and my xterm dies.  I
> need to block both Apple's and MacPorts' clang, 318.0.58 and earlier for
> Apple and 3.0 and earlier for MacPorts.  Any idea how I do them both?

You can also combine it into a single line if desired.

compiler.blacklist macports-clang-2.9 macports-clang-3.0 {clang <= 318.0.58}





More information about the macports-dev mailing list