Commit 0cbe8d35 authored by Torsten Landschoff's avatar Torsten Landschoff

Minimize build dependencies.

Removed build dependencies that are only required for testing
the build (closes: #752938).
parent 3947efbd
......@@ -2,8 +2,10 @@ swig (3.0.12-2) unstable; urgency=low
* tracker.d.o: Update Vcs-* control fields to point to the new repository on
salsa.d.o.
* Remove build dependencies that are only required for testing
the build (closes: #752938).
-- Torsten Landschoff <torsten@debian.org> Sun, 27 Jan 2019 18:43:11 +0100
-- Torsten Landschoff <torsten@debian.org> Sun, 27 Jan 2019 19:57:54 +0100
swig (3.0.12-1.2) unstable; urgency=medium
......
......@@ -11,16 +11,7 @@ Build-Depends: dpkg-dev (>= 1.16.1~),
bison,
debhelper (>= 7.0),
dh-autoreconf,
default-jdk [!hppa !mips !mipsel !alpha !arm !hurd-i386],
guile-2.0-dev,
libchicken-dev [!m68k !mips !mipsel],
libperl-dev,
libpcre3-dev,
python-dev,
ruby,
ruby-dev,
tcl-dev,
tk-dev
libpcre3-dev
Package: swig
Architecture: any
......
......@@ -18,52 +18,11 @@ include /usr/share/dpkg/buildflags.mk
MAKEOPTS =
CONFIGURE_ARGS := \
--prefix=/usr --mandir=/usr/share/man \
--without-php \
--with-tclconfig=/usr/lib \
--with-python=/usr/bin/python \
--with-ruby=/usr/bin/ruby \
--with-pike=/usr/bin/pike7.6 \
--with-pikeincl=/usr/include/pike/7.6.24 \
--with-swiglibdir=/usr/share/swig3.0 \
--without-mzscheme \
--program-suffix=3.0
DEB_TARGET_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
with_java := yes
no_java_archs := hppa hurd-i386 mips mipsel netbsd-i386
ifneq ($(DEB_TARGET_ARCH),i386)
ifeq ($(DEB_TARGET_ARCH), $(findstring $(DEB_TARGET_ARCH),$(no_java_archs)))
with_java := disabled for architecture $(DEB_TARGET_ARCH)
NO_PACKAGES +=
endif
endif
with_chicken := yes
no_chicken_archs := m68k mips mipsel
ifeq ($(DEB_TARGET_ARCH), $(findstring $(DEB_TARGET_ARCH),$(no_chicken_archs)))
with_chicken := disabled for architecture $(DEB_TARGET_ARCH)
endif
NO_PACKAGES_ARGS = $(foreach p,$(NO_PACKAGES),-N$(p))
ifeq ($(with_java),yes)
CONFIGURE_ARGS += \
--with-java=/usr/bin/java \
--with-javac=/usr/bin/javac
else
CONFIGURE_ARGS += --without-java
MAKEOPTS += skip-java=true
endif
ifeq ($(with_chicken),yes)
CONFIGURE_ARGS += \
--with-chicken=/usr/bin/chicken \
--with-chickencfg=/usr/bin/chicken-config
else
CONFIGURE_ARGS += --without-chicken
MAKEOPTS += skip-chicken=true
endif
NO_PACKAGES :=
configure-stamp: $(QUILT_STAMPFN)
dh_testdir
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment