> On Jun 13, 2015, at 12:19 AM, [email protected] wrote:
> 
> Revision
> 137498
> Author
> [email protected]
> Date
> 2015-06-12 22:19:53 -0700 (Fri, 12 Jun 2015)
> Log Message
> 
> fuzzy-find: new port, version 0.6 (#47931)

> Added: trunk/dports/sysutils/fuzzy-find/Portfile (0 => 137498)

> +github.setup        silentbicycle ff 0.6-flag-features v
> +name                fuzzy-find
> +version             0.6

It's a shame that the developers decided to put a suffix on their tag names. 
The github portgroup doesn't accommodate that because it's so uncommon. But you 
can still avoid repeating the version number by computing it:

version             [lindex [split ${github.version} -] 0]

> +use_configure       no
> +
> +variant universal {}
> +
> +build.target        ff
> +build.args          CC="${configure.cc} ${configure.optflags}"

The universal variant doesn't do anything. To fix this, and also to support 
users who have changed the default value of build_arch in macports.conf, in 
this case you could add [get_canonical_archflags cc] to the CC variable in 
build.args.

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

Reply via email to