[106222] trunk/dports/lang/luajit/Portfile

and.damore at macports.org and.damore at macports.org
Sun May 19 09:35:46 PDT 2013


Revision: 106222
          https://trac.macports.org/changeset/106222
Author:   and.damore at macports.org
Date:     2013-05-19 09:35:46 -0700 (Sun, 19 May 2013)
Log Message:
-----------
port luajit: moving lua version check in post-patch phase, #39149

Modified Paths:
--------------
    trunk/dports/lang/luajit/Portfile

Modified: trunk/dports/lang/luajit/Portfile
===================================================================
--- trunk/dports/lang/luajit/Portfile	2013-05-19 16:33:09 UTC (rev 106221)
+++ trunk/dports/lang/luajit/Portfile	2013-05-19 16:35:46 UTC (rev 106222)
@@ -34,15 +34,15 @@
                     ABIVER=[string range [lindex [lindex [registry_active lua] 0] 1] 0 2] \
                     Q=""
 
-set lua_version     [string range [lindex [lindex [registry_active lua] 0] 1] 0 2] 
 post-patch {
+    set lua_version     [string range [lindex [lindex [registry_active lua] 0] 1] 0 2] 
     if {[vercmp $lua_version 5.2] >= 0} {
         reinplace "s|5\\.1|5.2|g" ${worksrcpath}/src/luaconf.h
     }
+    destroot.post_args-append   ABIVER=$lua_version
 }
 
-destroot.post_args-append   PREFIX="${prefix}" \
-                            ABIVER=$lua_version
+destroot.post_args-append   PREFIX="${prefix}"
 
 post-destroot {
     xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130519/0e1fc447/attachment-0001.html>


More information about the macports-changes mailing list