[70235] trunk/dports/multimedia/libvpx

Rainer Müller raimue at macports.org
Tue Aug 3 06:52:12 PDT 2010


Michael, thanks for implementing the fix for this problem.

On 2010-08-03 06:49 , michaelld at macports.org wrote:
> +# set configure parameters depending on if universal or not
> +if {![variant_isset universal]} {
> +    # specify only the single target, otherwise 'configure' will try
> +    # for a 'universal' install.
> +    set tgt_isa "${build_arch}"
> +    if {${build_arch} == "i386"} {
> +        set tgt_isa "x86"
> +    } elseif {${build_arch} == "ppc"} {
> +        set tgt_isa "ppc32"
> +    }
> +    configure.args-append --target=${tgt_isa}-${os.platform}${os.major}-gcc
> +} else {
> +    # clear universal flags; configure will determine them.
> +    configure.universal_cppflags
> +    configure.universal_cflags
> +    configure.universal_cxxflags
> +    configure.universal_ldflags
> +    # tell configure the target; probably not necessary
> +    configure.args-append --target=universal-${os.platform}${os.major}-gcc
> +}

Wouldn't this need additional patching to respect the universal_archs
setting for +universal instead of hardcoding the default set?

Rainer


More information about the macports-dev mailing list