[106221] trunk/dports/devel/lua-numlua/Portfile

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


Revision: 106221
          https://trac.macports.org/changeset/106221
Author:   and.damore at macports.org
Date:     2013-05-19 09:33:09 -0700 (Sun, 19 May 2013)
Log Message:
-----------
port lua-numlua: moving lua version check in pre-destroot phase; #39149

Modified Paths:
--------------
    trunk/dports/devel/lua-numlua/Portfile

Modified: trunk/dports/devel/lua-numlua/Portfile
===================================================================
--- trunk/dports/devel/lua-numlua/Portfile	2013-05-19 16:09:07 UTC (rev 106220)
+++ trunk/dports/devel/lua-numlua/Portfile	2013-05-19 16:33:09 UTC (rev 106221)
@@ -49,9 +49,12 @@
                         LDFLAGS=${configure.ldflags} \
                         DEPLOYMENT_TARGET=${macosx_deployment_target}
 
-destroot.args-append    PREFIX=$prefix \
-                        LUA_VERSION=[string range [lindex [lindex [registry_active lua] 0] 1] 0 2]
+destroot.args-append    PREFIX=$prefix
 
+pre-destroot {
+    destroot.args-append    LUA_VERSION=[string range [lindex [lindex [registry_active lua] 0] 1] 0 2]
+}
+
 post-destroot {
     xinstall -d -m 755 ${destroot}${prefix}/share/doc
     xinstall -d -m 755 ${destroot}${prefix}/share/examples
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130519/d0b1a41b/attachment.html>


More information about the macports-changes mailing list