[89921] trunk/dports/devel/luarocks

Ryan Schmidt ryandesign at macports.org
Wed Feb 15 10:35:02 PST 2012


On Feb 15, 2012, at 11:06, and.damore at macports.org wrote:

> Revision: 89921
>          http://trac.macports.org/changeset/89921
> Author:   and.damore at macports.org
> Date:     2012-02-15 09:06:19 -0800 (Wed, 15 Feb 2012)
> Log Message:
> -----------
> port luarocks: fixes dependency check in rocks, now luarocks correctly finds macports provided libraries; revision bumped to force rebuild
> 
> Modified Paths:
> --------------
>    trunk/dports/devel/luarocks/Portfile
>    trunk/dports/devel/luarocks/files/patch-src_luarocks_cfg.lua.diff
> 
> Modified: trunk/dports/devel/luarocks/Portfile
> ===================================================================
> --- trunk/dports/devel/luarocks/Portfile	2012-02-15 16:01:51 UTC (rev 89920)
> +++ trunk/dports/devel/luarocks/Portfile	2012-02-15 17:06:19 UTC (rev 89921)
> @@ -2,6 +2,7 @@
> PortSystem          1.0
> name                luarocks
> version             2.0.7.1
> +revision            1
> categories          devel
> platforms           darwin
> maintainers         and.damore openmaintainer
> @@ -26,6 +27,10 @@
>                     --rocks-tree=${prefix}/share/${name}
> 
> patchfiles          patch-src_luarocks_cfg.lua.diff
> +post-patch {
> +    reinplace   "s|%PREFIX%|${prefix}|g"             ${worksrcpath}/src/luarocks/cfg.lua
> +    reinplace "s|%COMPILER%|${configure.compiler}|g" ${worksrcpath}/src/luarocks/cfg.lua
> +}

You need to use configure.cc, not configure.compiler. configure.cc is the path to the C compiler program; configure.compiler is the MacPorts-specific name of the compiler collection, which only coincidentally happens to match the name of the C compiler program in some cases.




More information about the macports-dev mailing list