[arch-commits] Commit in lua/trunk (PKGBUILD)
Anatol Pomozov
anatolik at archlinux.org
Tue May 12 16:17:05 UTC 2015
Date: Tuesday, May 12, 2015 @ 18:17:05
Author: anatolik
Revision: 239193
upgpkg: lua 5.3.0-2
Enable lua 5.1 compatibility mode to let applications migrate to lua5.3 smoothly.
Modified:
lua/trunk/PKGBUILD
----------+
PKGBUILD | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-05-12 15:36:53 UTC (rev 239192)
+++ PKGBUILD 2015-05-12 16:17:05 UTC (rev 239193)
@@ -5,7 +5,7 @@
pkgname=lua
pkgver=5.3.0
-pkgrel=1
+pkgrel=2
pkgdesc='Powerful lightweight programming language designed for extending applications'
arch=('i686' 'x86_64')
url='http://www.lua.org/'
@@ -31,7 +31,8 @@
build() {
cd lua-$pkgver
- make MYCFLAGS="$CFLAGS -fPIC" MYLDFLAGS="$LDFLAGS" linux
+ # quite a lot of packages still use lua 5.1 API, enable 5.1 compat mode
+ make MYCFLAGS="$CFLAGS -fPIC -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1" MYLDFLAGS="$LDFLAGS" linux
}
package() {
More information about the arch-commits
mailing list