diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2023-08-20 19:57:07 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2023-08-20 22:29:30 +0200 |
commit | 74c44f453146a953f779b51b5c18ab4ffc60fb10 (patch) | |
tree | 911ee7d428975686e13e8227ef8889643f7b0879 /source | |
parent | 871f13af530b211c1fc4bc46681808996ae22825 (diff) | |
download | current-74c44f453146a953f779b51b5c18ab4ffc60fb10.tar.gz current-74c44f453146a953f779b51b5c18ab4ffc60fb10.tar.xz |
Sun Aug 20 19:57:07 UTC 202320230820195707
a/gzip-1.13-x86_64-1.txz: Upgraded.
a/less-643-x86_64-1.txz: Upgraded.
ap/vim-9.0.1776-x86_64-1.txz: Upgraded.
d/lua-5.4.6-x86_64-2.txz: Rebuilt.
Recompiled with -DLUA_USE_LINUX (to fix luarocks). Thanks to perrin4869.
d/poke-3.3-x86_64-1.txz: Upgraded.
l/netpbm-11.03.04-x86_64-1.txz: Upgraded.
xap/vim-gvim-9.0.1776-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source')
-rwxr-xr-x | source/d/lua/lua.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/d/lua/lua.SlackBuild b/source/d/lua/lua.SlackBuild index 69c525eaf..5d4fe418d 100755 --- a/source/d/lua/lua.SlackBuild +++ b/source/d/lua/lua.SlackBuild @@ -12,9 +12,11 @@ # Granted WTFPL, Version 2, as published by Sam Hocevar. See # http://sam.zoy.org/wtfpl/COPYING for more details. +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=lua VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -72,14 +74,14 @@ 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)" \ + CFLAGS="$SLKCFLAGS \$(MYCFLAGS) -DLUA_USE_LINUX" \ INSTALL_TOP=/usr \ INSTALL_LIB=/usr/lib${LIBDIRSUFFIX} \ INSTALL_LMOD=/usr/share/lua/$(echo $VERSION | cut -f 1-2 -d .) \ INSTALL_CMOD=/usr/lib${LIBDIRSUFFIX}/lua/$(echo $VERSION | cut -f 1-2 -d .) || exit 1 make linux install \ - CFLAGS="$SLKCFLAGS \$(MYCFLAGS)" \ + CFLAGS="$SLKCFLAGS \$(MYCFLAGS) -DLUA_USE_LINUX" \ INSTALL_TOP=$PKG/usr \ INSTALL_LIB=$PKG/usr/lib${LIBDIRSUFFIX} \ INSTALL_LMOD=$PKG/usr/share/lua/$(echo $VERSION | cut -f 1-2 -d .) \ |