summaryrefslogtreecommitdiffstats
path: root/source/ap/vim/vim-gvim.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/vim/vim-gvim.SlackBuild')
-rwxr-xr-xsource/ap/vim/vim-gvim.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/source/ap/vim/vim-gvim.SlackBuild b/source/ap/vim/vim-gvim.SlackBuild
index 8091411e8..19d5060bc 100755
--- a/source/ap/vim/vim-gvim.SlackBuild
+++ b/source/ap/vim/vim-gvim.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2013, 2016, 2018, 2019 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2010, 2013, 2016, 2018, 2019, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -34,6 +34,11 @@ VIMBRANCH=8.2
VERSION=$(echo vim-${VIMBRANCH}*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)
BUILD=${BUILD:-1}
+# The possible settings for this are yes/no/dynamic. We've been using dynamic,
+# but that's not currently compiling against perl-5.34.0. So we'll use "yes"
+# until "dynamic" works again, which probably won't take long.
+PERLINTERP=${PERLINTERP:-yes}
+
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -87,7 +92,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-perlinterp=dynamic \
+ --enable-perlinterp=$PERLINTERP \
--enable-pythoninterp=dynamic \
--enable-python3interp=dynamic \
--enable-rubyinterp${RUBYDYNAMIC} \