[106215] trunk/dports/devel/luarocks/Portfile

and.damore at macports.org and.damore at macports.org
Sun May 19 07:33:31 PDT 2013


Revision: 106215
          https://trac.macports.org/changeset/106215
Author:   and.damore at macports.org
Date:     2013-05-19 07:33:31 -0700 (Sun, 19 May 2013)
Log Message:
-----------
port luarocks: fixing install directory due to recent lua minor version upgrade
this should be possibly propagated to every lua port dependency, time to make a portgroup?

Modified Paths:
--------------
    trunk/dports/devel/luarocks/Portfile

Modified: trunk/dports/devel/luarocks/Portfile
===================================================================
--- trunk/dports/devel/luarocks/Portfile	2013-05-19 05:09:54 UTC (rev 106214)
+++ trunk/dports/devel/luarocks/Portfile	2013-05-19 14:33:31 UTC (rev 106215)
@@ -2,7 +2,7 @@
 PortSystem          1.0
 name                luarocks
 version             2.0.13
-revision            1
+revision            2
 license             MIT
 categories          devel
 platforms           darwin
@@ -26,6 +26,7 @@
 
 configure.args      --with-lua=${prefix} \
                     --rocks-tree=${prefix}/share/${name}
+                    --lua-version=[string range [lindex [lindex [registry_active lua] 0] 1] 0 2]
 
 patchfiles          patch-src_luarocks_cfg.diff
 post-patch {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130519/5cc89e43/attachment.html>


More information about the macports-changes mailing list