[102254] trunk/dports/graphics/cairo/Portfile
Ryan Schmidt
ryandesign at macports.org
Tue Jan 29 12:42:45 PST 2013
On Jan 29, 2013, at 10:56, jeremyhu at macports.org wrote:
> Revision: 102254
> https://trac.macports.org/changeset/102254
> Author: jeremyhu at macports.org
> Date: 2013-01-29 08:56:01 -0800 (Tue, 29 Jan 2013)
> Log Message:
> -----------
> cairo: Use compiler.blacklist
>
> Modified Paths:
> --------------
> trunk/dports/graphics/cairo/Portfile
>
> Modified: trunk/dports/graphics/cairo/Portfile
> ===================================================================
> --- trunk/dports/graphics/cairo/Portfile 2013-01-29 16:53:04 UTC (rev 102253)
> +++ trunk/dports/graphics/cairo/Portfile 2013-01-29 16:56:01 UTC (rev 102254)
> @@ -49,7 +49,8 @@
> patchfiles-append patch-configure.diff
>
> # https://trac.macports.org/ticket/34137
> -compiler.blacklist-append {clang < 318.0.61}
> +# https://trac.macports.org/ticket/73419
That's a changeset number, not a ticket number; the ticket number was 27011.
> +compiler.blacklist-append {clang < 318.0.61} {gcc-4.0 >= 5465}
> -platform darwin 9 {
> - configure.compiler gcc-4.2
> -}
Note that it's not a problem with any particular version of gcc-4.0. It's just that gcc-4.0 seems unable to build an i386 x86_64 universal binary. i386 x86_64 is not the default for universal_archs on Leopard, but some users want to do it that way.
Perhaps the more correct way to phrase it would be to check if the universal variant is set and contains i386 and x86_64, and if so, blacklist gcc-4.0.
More information about the macports-dev
mailing list