[137498] trunk/dports/sysutils

Ryan Schmidt ryandesign at macports.org
Fri Jun 12 23:19:18 PDT 2015


> On Jun 13, 2015, at 12:19 AM, chunyang at macports.org wrote:
> 
> Revision
> 137498
> Author
> chunyang at macports.org
> 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.



More information about the macports-dev mailing list