[71355] trunk/dports/graphics/qwtplot3d/Portfile

Ryan Schmidt ryandesign at macports.org
Thu Sep 9 19:17:49 PDT 2010


On Sep 9, 2010, at 20:24, michaelld at macports.org wrote:

> Revision: 71355
>          http://trac.macports.org/changeset/71355
> Author:   michaelld at macports.org
> 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?





More information about the macports-dev mailing list