summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:28:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:28:40 +0000
commit21ae852de8154dee5bf165dc028c8c7f41061fd9 (patch)
tree40d5052ded0771287618d9a80c7fbe2cd98c4c28
parentBuilding vim with python3. (diff)
downloadvim-21ae852de8154dee5bf165dc028c8c7f41061fd9.tar.xz
vim-21ae852de8154dee5bf165dc028c8c7f41061fd9.zip
Building vim-gtk3 without ruby.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/rules15
1 files changed, 3 insertions, 12 deletions
diff --git a/debian/rules b/debian/rules
index a137df9..b39e81f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,17 +21,8 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
MAKEFLAGS += -j$(NUMJOBS)
endif
-ifneq (,$(filter pkg.vim.noruby,$(DEB_BUILD_PROFILES)))
- RUBY_SUBSTVARS = -Vvim:Ruby-Provides= -Vvim:Ruby-Desc=
- RUBY_CFGFLAGS = --disable-ruby
-else ifneq (,$(filter alpha ia64,$(DEB_HOST_ARCH)))
- # Disable ruby on these architectures at the request of porters (c.f., #983308)
- RUBY_SUBSTVARS = -Vvim:Ruby-Provides= -Vvim:Ruby-Desc=
- RUBY_CFGFLAGS = --disable-rubyinterp
-else
- RUBY_SUBSTVARS = -Vvim:Ruby-Provides='vim-ruby (= $${binary:Version})' -Vvim:Ruby-Desc=' Ruby,'
- RUBY_CFGFLAGS = --enable-rubyinterp
-endif
+RUBY_SUBSTVARS = -Vvim:Ruby-Provides= -Vvim:Ruby-Desc=
+RUBY_CFGFLAGS = --disable-rubyinterp
CFGFLAGS = --prefix=/usr --mandir='$${prefix}'/share/man --without-local-dir
CFGFLAGS += --with-modified-by="$(BUILDER)"
@@ -125,7 +116,7 @@ CFLAGS_vim-tiny = $(CFLAGS) -DTINY_VIMRC
CFGFLAGS_vim-tiny = $(CFGFLAGS) $(TINYFLAGS)
CFLAGS_vim-gtk3 = $(CFLAGS)
-CFGFLAGS_vim-gtk3 = $(CFGFLAGS) $(OPTFLAGS) $(GUIFLAGS) $(ALLINTERPFLAGS) $(GTK3FLAGS) $(RUBY_CFGFLAGS)
+CFGFLAGS_vim-gtk3 = $(CFGFLAGS) $(OPTFLAGS) $(GUIFLAGS) $(ALLINTERPFLAGS) $(GTK3FLAGS)
CFLAGS_vim-athena = $(CFLAGS)
CFGFLAGS_vim-athena = $(CFGFLAGS) $(OPTFLAGS) $(GUIFLAGS) $(ATHENAFLAGS) $(ALLINTERPFLAGS) $(RUBY_CFGFLAGS)