diff options
Diffstat (limited to 'source/ap/vim')
-rwxr-xr-x | source/ap/vim/vim-gvim.SlackBuild | 18 | ||||
-rwxr-xr-x | source/ap/vim/vim.SlackBuild | 17 |
2 files changed, 20 insertions, 15 deletions
diff --git a/source/ap/vim/vim-gvim.SlackBuild b/source/ap/vim/vim-gvim.SlackBuild index 5bc65fc7..8091411e 100755 --- a/source/ap/vim/vim-gvim.SlackBuild +++ b/source/ap/vim/vim-gvim.SlackBuild @@ -52,6 +52,11 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi +# If dynamic support for Ruby works with this $ARCH, then allow it: +if [ "$ARCH" = "x86_64" ]; then + RUBYDYNAMIC="=dynamic" +fi + NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} PYVER=$(python -V 2>&1 | cut -f 2 -d' ' | cut -f 1-2 -d.) @@ -80,21 +85,18 @@ CFLAGS="$SLKCFLAGS" LDFLAGS="$SLKLDFLAGS" \ ./configure \ $* \ --prefix=/usr \ - --enable-pythoninterp \ --with-python-config-dir=/usr/lib${LIBDIRSUFFIX}/python$PYVER/config \ - --enable-python3interp \ --with-python3-config-dir=$(python3-config --configdir) \ - --enable-perlinterp \ - --disable-tclinterp \ + --enable-perlinterp=dynamic \ + --enable-pythoninterp=dynamic \ + --enable-python3interp=dynamic \ + --enable-rubyinterp${RUBYDYNAMIC} \ + --enable-tclinterp=dynamic \ --enable-multibyte \ --enable-cscope \ --with-features=huge \ --with-compiledby="<volkerdi@slackware.com>" \ --build=$ARCH-slackware-linux || exit 1 - - # I had been adding this, but got 100% complaints and 0% kudos: - # --enable-rubyinterp - } cd $TMP/vim-$VERSION || exit 1 diff --git a/source/ap/vim/vim.SlackBuild b/source/ap/vim/vim.SlackBuild index 1e9cdd0a..1ef6744b 100755 --- a/source/ap/vim/vim.SlackBuild +++ b/source/ap/vim/vim.SlackBuild @@ -60,6 +60,11 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi +# If dynamic support for Ruby works with this $ARCH, then allow it: +if [ "$ARCH" = "x86_64" ]; then + RUBYDYNAMIC="=dynamic" +fi + NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} PYVER=$(python -V 2>&1 | cut -f 2 -d' ' | cut -f 1-2 -d.) @@ -116,21 +121,19 @@ CFLAGS="$SLKCFLAGS" \ ./configure \ $* \ --prefix=/usr \ - --enable-pythoninterp \ --with-python-config-dir=/usr/lib${LIBDIRSUFFIX}/python$PYVER/config \ - --enable-python3interp \ --with-python3-config-dir=$(python3-config --configdir) \ - --enable-perlinterp \ + --enable-perlinterp=dynamic \ + --enable-pythoninterp=dynamic \ + --enable-python3interp=dynamic \ + --enable-rubyinterp${RUBYDYNAMIC} \ + --enable-tclinterp=dynamic \ --disable-canberra \ - --disable-tclinterp \ --enable-multibyte \ --enable-cscope \ --with-features=huge \ --with-compiledby="<volkerdi@slackware.com>" \ --build=$ARCH-slackware-linux || exit 1 - - # I had been adding this, but got 100% complaints and 0% kudos: - # --enable-rubyinterp } cd $TMP/vim-$VERSION || exit 1 |