summaryrefslogtreecommitdiffstats
path: root/source/ap
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap')
-rwxr-xr-xsource/ap/vim/vim-gvim.SlackBuild4
-rwxr-xr-xsource/ap/vim/vim.SlackBuild4
2 files changed, 8 insertions, 0 deletions
diff --git a/source/ap/vim/vim-gvim.SlackBuild b/source/ap/vim/vim-gvim.SlackBuild
index 0c9462b41..de12fbad2 100755
--- a/source/ap/vim/vim-gvim.SlackBuild
+++ b/source/ap/vim/vim-gvim.SlackBuild
@@ -37,6 +37,9 @@ BUILD=${BUILD:-1}
# The possible settings for this are yes/no/dynamic.
PERLINTERP=${PERLINTERP:-dynamic}
+# The possible settings for this are yes/no/dynamic.
+LUAINTERP=${LUAINTERP:-dynamic}
+
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -90,6 +93,7 @@ CFLAGS="$SLKCFLAGS" LDFLAGS="$SLKLDFLAGS" \
--prefix=/usr \
--with-python-config-dir=/usr/lib${LIBDIRSUFFIX}/python$PYVER/config \
--with-python3-config-dir=$(python3-config --configdir) \
+ --enable-luainterp=$LUAINTERP \
--enable-perlinterp=$PERLINTERP \
--enable-pythoninterp=dynamic \
--enable-python3interp=dynamic \
diff --git a/source/ap/vim/vim.SlackBuild b/source/ap/vim/vim.SlackBuild
index 7c5db46fc..b0d569096 100755
--- a/source/ap/vim/vim.SlackBuild
+++ b/source/ap/vim/vim.SlackBuild
@@ -30,6 +30,9 @@ BUILD=${BUILD:-1}
# The possible settings for this are yes/no/dynamic.
PERLINTERP=${PERLINTERP:-dynamic}
+# The possible settings for this are yes/no/dynamic.
+LUAINTERP=${LUAINTERP:-dynamic}
+
if [ -r vim-${VIMBRANCH}*.tar.?z ]; then # if there's a source archive already, use the version number from it:
VERSION=$(echo vim-${VIMBRANCH}*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)
else # need to fetch the latest source archive for this branch:
@@ -132,6 +135,7 @@ CFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--with-python-config-dir=/usr/lib${LIBDIRSUFFIX}/python$PYVER/config \
--with-python3-config-dir=$(python3-config --configdir) \
+ --enable-luainterp=$LUAINTERP \
--enable-perlinterp=$PERLINTERP \
--enable-pythoninterp=dynamic \
--enable-python3interp=dynamic \