Source: swig
Version: 3.0.12-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap
swig fails to cross build from source, because it does not pass --host
to ./configure. The easiest way of doing so is letting dh_auto_configure
do it. That is sufficient to make swig cross buildable. Please consider
applying the attached patch.
Helmut
diff --minimal -Nru swig-3.0.12/debian/changelog swig-3.0.12/debian/changelog
--- swig-3.0.12/debian/changelog2019-01-27 19:57:54.0 +0100
+++ swig-3.0.12/debian/changelog2019-01-28 09:53:10.0 +0100
@@ -1,3 +1,10 @@
+swig (3.0.12-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne Mon, 28 Jan 2019 09:53:10 +0100
+
swig (3.0.12-2) unstable; urgency=low
* tracker.d.o: Update Vcs-* control fields to point to the new repository on
diff --minimal -Nru swig-3.0.12/debian/rules swig-3.0.12/debian/rules
--- swig-3.0.12/debian/rules2019-01-27 18:53:53.0 +0100
+++ swig-3.0.12/debian/rules2019-01-28 09:53:10.0 +0100
@@ -27,8 +27,7 @@
configure-stamp: $(QUILT_STAMPFN)
dh_testdir
dh_autoreconf ./autogen.sh
- mkdir -p builddir
- cd builddir && ../configure $(CONFIGURE_ARGS)
+ dh_auto_configure --builddirectory=builddir -- $(CONFIGURE_ARGS)
touch configure-stamp
build: build-indep build-arch