diff options
Diffstat (limited to 'development/lua52/lua52.SlackBuild')
-rw-r--r-- | development/lua52/lua52.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/development/lua52/lua52.SlackBuild b/development/lua52/lua52.SlackBuild index 805e49974f175..74ca8da3b4a82 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 |