RFC: Support for future compilers in base

Lawrence Velázquez larryv at macports.org
Fri Feb 15 14:36:35 PST 2013


On Feb 15, 2013, at 3:10 AM, Jeremy Huddleston Sequoia <jeremyhu at macports.org> wrote:

> I'd like to update base trunk such that future versions of clang, dragonegg, and gcc "just work", so we don't need to wait for newer versions of base to depend on newer compilers.
> 
> I've taken a first pass at portconfigure.tcl and here is a patch.  Comments?  Concerns?


Shouldn't the second "string first" expression be looking for "macports-dragonegg"?

> +    if {[string first "macports-gcc" $compiler] == 0 ||
> +        [string first "dragonegg-" $compiler] == 0} {
> +        return no
> +    } else {
> +        return yes

vq


More information about the macports-dev mailing list