On Sep 9, 2010, at 20:24, [email protected] wrote:

> Revision: 71355
>          http://trac.macports.org/changeset/71355
> Author:   [email protected]
> Date:     2010-09-09 18:24:45 -0700 (Thu, 09 Sep 2010)
> Log Message:
> -----------
> Added 'debug' variant and reinplace to handle it; now matches qt4-mac.
> Fixed universal install.
> Fixed install name of the library.
> Rev bump to have these changes take effect.
> 
> Modified Paths:
> --------------
>    trunk/dports/graphics/qwtplot3d/Portfile


> +platform darwin 9 {
> +    post-patch {
> +        if {[variant_isset universal]} {
> +            # add both architectures to CONFIG
> +            reinplace "s...@\\(CONFIG.*qt\\)@\\1 x86 ppc@" 
> ${worksrcpath}/qwtplot3d.pro
> +        }
> +    }
> +}
> +
> +platform darwin 10 {
> +    post-patch {
> +        if {[variant_isset universal]} {
> +            # add both architectures to CONFIG
> +            reinplace "s...@\\(CONFIG.*qt\\)@\\1 x86 x86_64@" 
> ${worksrcpath}/qwtplot3d.pro
> +        }
> +    }
> +}

What happens on darwin 8?

Why not always use the universal architectures the user requested via the 
${configure.universal_archs} variable instead of assuming?



_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to