[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#729644: Please use dh_autotools-dev to update config.{sub,guess} for new ports



Package: capi4hylafax
Version: 1:01.03.00.99.svn.300-19
Severity: important
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu trusty ubuntu-patch



In Ubuntu, the attached patch was applied to achieve the following:

  * Use dh_autotools-dev to update config.{sub,guess} for new ports.

This allows your package to build on new ports such as aarch64, and
future-proofs it for other new ports as well.

... Adam

-- System Information:
Debian Release: wheezy/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12.0-2-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru capi4hylafax-01.03.00.99.svn.300/debian/changelog capi4hylafax-01.03.00.99.svn.300/debian/changelog
diff -Nru capi4hylafax-01.03.00.99.svn.300/debian/control capi4hylafax-01.03.00.99.svn.300/debian/control
--- capi4hylafax-01.03.00.99.svn.300/debian/control	2013-07-16 18:04:04.000000000 +0100
+++ capi4hylafax-01.03.00.99.svn.300/debian/control	2013-11-15 09:53:27.000000000 +0000
@@ -4,7 +4,7 @@
 Maintainer: Debian QA Group <packages@qa.debian.org>
 Standards-Version: 3.9.4
 Build-Depends: debhelper (>= 9),
- libcapi20-dev, libtiff-dev
+ libcapi20-dev, libtiff-dev, autotools-dev
 Vcs-Git: git://anonscm.debian.org/collab-maint/capi4hylafax.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/capi4hylafax.git
 
diff -Nru capi4hylafax-01.03.00.99.svn.300/debian/rules capi4hylafax-01.03.00.99.svn.300/debian/rules
--- capi4hylafax-01.03.00.99.svn.300/debian/rules	2012-06-18 20:11:17.000000000 +0100
+++ capi4hylafax-01.03.00.99.svn.300/debian/rules	2013-11-15 09:52:22.000000000 +0000
@@ -30,6 +30,7 @@
 build-indep: build-stamp
 build-stamp:
 	dh_testdir
+	dh_autotools-dev_updateconfig
 	./configure $(confflags) --prefix=/usr \
 	  --with-hylafax-spooldir=/var/spool/hylafax \
 	  $(shell $(dpkg_buildflags) --export=configure)
@@ -42,6 +43,7 @@
 	rm -f build-stamp
 	[ ! -f Makefile ] || $(MAKE) distclean
 	[ ! -f Makefile ] || $(MAKE) clean
+	dh_autotools-dev_restoreconfig
 	dh_clean
 
 install: build

Reply to: