Package: src:xprobe
Version: 0.3-1.1
Severity: normal
Tags: patch

Dear Maintainer,

Please use autotools-dev to update config.{sub,guess} for new architectures.
In Ubuntu, a similiar patch was applied to achieve the following:

  * Use autotools-dev to resolve FTBFS on newer arches.

Thanks for considering the patch.

Erwan Prioul.

diff -Naur a/debian/control b/debian/control
--- a/debian/control	2014-11-12 13:38:49.163902005 +0100
+++ b/debian/control	2014-11-12 13:40:46.987895742 +0100
@@ -2,7 +2,7 @@
 Section: net
 Priority: extra
 Maintainer: Richard Atterer <[email protected]>
-Build-Depends: debhelper (>> 4), libpcap-dev (>= 0.7.1)
+Build-Depends: debhelper (>> 4), libpcap-dev (>= 0.7.1), autotools-dev
 Standards-Version: 3.5.9
 
 Package: xprobe
diff -Naur a/debian/rules b/debian/rules
--- a/debian/rules	2014-11-12 13:38:49.159902005 +0100
+++ b/debian/rules	2014-11-12 13:40:22.823897027 +0100
@@ -6,8 +6,7 @@
 configure: configure-stamp
 configure-stamp:
 	dh_testdir src/xprobe.cc
-	ln -s ../../../../cfg-scripts/config.guess libs-external/USI++/src/cfgaux
-	ln -s ../../../../cfg-scripts/config.sub libs-external/USI++/src/cfgaux
+	dh_autotools-dev_updateconfig
 	./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc
 	touch configure-stamp
 
@@ -24,8 +23,7 @@
 	dh_testroot
 	rm -f build-stamp configure-stamp
 	-$(MAKE) distclean
-	rm -f libs-external/USI++/src/cfgaux/config.guess
-	rm -f libs-external/USI++/src/cfgaux/config.sub
+	dh_autotools-dev_restoreconfig
 	dh_clean
 
 install: build

Reply via email to