diff options
Diffstat (limited to 'source/d/lua/lua.SlackBuild')
-rwxr-xr-x | source/d/lua/lua.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/d/lua/lua.SlackBuild b/source/d/lua/lua.SlackBuild index 5d4fe418d..138d8f27f 100755 --- a/source/d/lua/lua.SlackBuild +++ b/source/d/lua/lua.SlackBuild @@ -16,7 +16,7 @@ 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:-2} +BUILD=${BUILD:-3} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -74,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) -DLUA_USE_LINUX" \ + MYCFLAGS="$SLKCFLAGS" \ 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) -DLUA_USE_LINUX" \ + MYCFLAGS="$SLKCFLAGS" \ INSTALL_TOP=$PKG/usr \ INSTALL_LIB=$PKG/usr/lib${LIBDIRSUFFIX} \ INSTALL_LMOD=$PKG/usr/share/lua/$(echo $VERSION | cut -f 1-2 -d .) \ |