Package: criticalmass
Version: 1:1.0.0-1.5
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
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: wheezy/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.12.0-7-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 criticalmass-1.0.0/debian/rules criticalmass-1.0.0/debian/rules
--- criticalmass-1.0.0/debian/rules
+++ criticalmass-1.0.0/debian/rules
@@ -8,8 +8,7 @@
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
-	cp -vf /usr/share/misc/config.guess .
-	cp -vf /usr/share/misc/config.sub .
+	dh_autotools-dev_updateconfig
 	./configure --prefix=/usr --datadir=\$${prefix}/share/games --bindir=\$${prefix}/games --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
 
 	touch configure-stamp
@@ -34,7 +33,7 @@
 	rm -f config.cache config.log config.status
 	rm -f curl/config.cache curl/config.log curl/config.status
 	rm -f game/resource.dat
-
+	dh_autotools-dev_restoreconfig
 	dh_clean
 
 install: build

Reply via email to