From a9f226bcbb7b03a63b2a46d49f9fbe11cb9f6efe Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sat, 16 Aug 2014 10:05:22 +0200 Subject: development/lua52: Updated for version 5.2.3. Restore some CFLAGS that get overwritten, thanks to Stefan Beckert for the report Signed-off-by: Matteo Bernardini --- development/lua52/lua52.SlackBuild | 8 +++++--- development/lua52/lua52.info | 6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'development/lua52') diff --git a/development/lua52/lua52.SlackBuild b/development/lua52/lua52.SlackBuild index 805e49974f17..74ca8da3b4a8 100644 --- a/development/lua52/lua52.SlackBuild +++ b/development/lua52/lua52.SlackBuild @@ -12,7 +12,7 @@ # http://sam.zoy.org/wtfpl/COPYING for more details. PRGNAM=lua52 -VERSION=${VERSION:-5.2.1} +VERSION=${VERSION:-5.2.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -57,13 +57,15 @@ sed -i "s|/usr/local|/usr|" src/luaconf.h sed -i "s|lib/lua|lib$LIBDIRSUFFIX/lua|" src/luaconf.h make linux \ - CFLAGS="$SLKCFLAGS \$(MYCFLAGS)" \ + MYLIBS="-lncurses" \ + CFLAGS="$SLKCFLAGS \$(MYCFLAGS) -DLUA_COMPAT_ALL -DLUA_USE_LINUX" \ INSTALL_TOP=/usr \ INSTALL_LIB=/usr/lib${LIBDIRSUFFIX} \ INSTALL_CMOD=/usr/lib${LIBDIRSUFFIX}/lua/5.2 make linux install \ - CFLAGS="$SLKCFLAGS \$(MYCFLAGS)" \ + MYLIBS="-lncurses" \ + CFLAGS="$SLKCFLAGS \$(MYCFLAGS) -DLUA_COMPAT_ALL -DLUA_USE_LINUX" \ INSTALL_TOP=$PKG/usr \ INSTALL_LIB=$PKG/usr/lib${LIBDIRSUFFIX} \ INSTALL_CMOD=/usr/lib${LIBDIRSUFFIX}/lua/5.2 diff --git a/development/lua52/lua52.info b/development/lua52/lua52.info index e76df9a36b22..6ab7fc2c9f2e 100644 --- a/development/lua52/lua52.info +++ b/development/lua52/lua52.info @@ -1,8 +1,8 @@ PRGNAM="lua52" -VERSION="5.2.1" +VERSION="5.2.3" HOMEPAGE="http://www.lua.org" -DOWNLOAD="http://www.lua.org/ftp/lua-5.2.1.tar.gz" -MD5SUM="ae08f641b45d737d12d30291a5e5f6e3" +DOWNLOAD="http://www.lua.org/ftp/lua-5.2.3.tar.gz" +MD5SUM="dc7f94ec6ff15c985d2d6ad0f1b35654" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3