[112815] trunk/dports/lang/luajit/Portfile
and.damore at macports.org
and.damore at macports.org
Fri Nov 1 15:00:34 PDT 2013
Revision: 112815
https://trac.macports.org/changeset/112815
Author: and.damore at macports.org
Date: 2013-11-01 15:00:34 -0700 (Fri, 01 Nov 2013)
Log Message:
-----------
port luajit: using the fetched value rather than hardcoded one
Modified Paths:
--------------
trunk/dports/lang/luajit/Portfile
Modified: trunk/dports/lang/luajit/Portfile
===================================================================
--- trunk/dports/lang/luajit/Portfile 2013-11-01 21:38:20 UTC (rev 112814)
+++ trunk/dports/lang/luajit/Portfile 2013-11-01 22:00:34 UTC (rev 112815)
@@ -39,7 +39,7 @@
post-patch {
reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/etc/luajit.pc
- reinplace "s|5\\.1|5.2|g" ${worksrcpath}/src/luaconf.h ${worksrcpath}/etc/luajit.pc
+ reinplace "s|5\\.1|${lua_version}|g" ${worksrcpath}/src/luaconf.h ${worksrcpath}/etc/luajit.pc
set lua_release [string range [lindex [lindex [registry_active lua] 0] 1] 4 4]
reinplace "/VERSION/s,5.1,${lua_version}," ${worksrcpath}/src/lua.h
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131101/6a67dfc4/attachment.html>
More information about the macports-changes
mailing list