[153935] trunk/dports/gis/routino

Ryan Schmidt ryandesign at macports.org
Sun Oct 16 16:37:02 PDT 2016


> On Oct 16, 2016, at 10:58 AM, khindenburg at macports.org wrote:
> 
> Revision
> 153935
> Author
> khindenburg at macports.org
> 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.





More information about the macports-dev mailing list