Package: srg
Version: 1.3.6-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

Please use autotools-dev to update config.{sub,guess} for new architectures.
For example, we needed these updates in Ubuntu for the new arm64 and ppc64el
architectures.

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

  * Use autotools-dev to update config.{sub,guess} for new arches.

Thanks for considering the patch.

Logan Rosen



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

Kernel: Linux 3.13.0-1-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u srg-1.3.6/debian/control srg-1.3.6/debian/control
--- srg-1.3.6/debian/control
+++ srg-1.3.6/debian/control
@@ -2,7 +2,7 @@
 Section: admin
 Priority: optional
 Maintainer: Matt Brown <[email protected]>
-Build-Depends: debhelper (>= 5), flex
+Build-Depends: debhelper (>= 5), flex, autotools-dev
 Standards-Version: 3.8.2
 Homepage: http://www.crc.net.nz/software/srg.php
 
diff -u srg-1.3.6/debian/rules srg-1.3.6/debian/rules
--- srg-1.3.6/debian/rules
+++ srg-1.3.6/debian/rules
@@ -15,6 +15,7 @@
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
+	dh_autotools-dev_updateconfig
 
 	./configure --prefix=/usr --sysconfdir=/etc
 
@@ -36,6 +37,7 @@
 
 	[ ! -f Makefile ] || $(MAKE) distclean
 
+	dh_autotools-dev_restoreconfig
 	dh_clean
 
 install: build

Reply via email to