From 21ae852de8154dee5bf165dc028c8c7f41061fd9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 15:28:40 +0200 Subject: Building vim-gtk3 without ruby. Signed-off-by: Daniel Baumann --- debian/rules | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'debian') 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) -- cgit v1.2.3