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 <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2014-08-16 10:05:22 +02:00 committed by Willy Sudiarto Raharjo
parent d97a34424b
commit a9f226bcbb
2 changed files with 8 additions and 6 deletions

View file

@ -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

View file

@ -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=""