> On Oct 16, 2016, at 10:58 AM, [email protected] wrote:
>
> Revision
> 153935
> Author
> [email protected]
> Date
> 2016-10-16 08:58:14 -0700 (Sun, 16 Oct 2016)
> Log Message
>
> routino: add +universal - attempt to use correct compiler flags
> Modified Paths
>
> • trunk/dports/gis/routino/Portfile
> +variant universal {}
> +if {[variant_isset universal]} {
> + configure.cflags-append ${configure.universal_cflags}
> + configure.ldflags-append ${configure.universal_ldflags}
> +} else {
> + configure.cflags-append ${configure.cc_archflags}
> + configure.ldflags-append ${configure.ld_archflags}
> +}
Perhaps you copied this from an ancient port that hasn't been updated, but you
can use the [get_canonical_archflags] procedure now (instead of having to
manually decide between configure.universal_*flags and configure.*_archflags),
as long as you declare the empty universal variant first, as you did.
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev