Package: fileschanged
Version: 0.6.5-1.2
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 update config.{sub,guess} for new arches.

Thanks for considering the patch.

Erwan Prioul.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (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

--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@
 Section: utils
 Priority: optional
 Maintainer: Juan A. Diaz <[email protected]>
-Build-Depends: debhelper (>= 5.0.0), dpatch, help2man, texinfo, libfam-dev (>= 2.7.0-10) | libgamin-dev (>= 0.1.7-4)
+Build-Depends: debhelper (>= 5.0.0), dpatch, help2man, texinfo, libfam-dev (>= 2.7.0-10) | libgamin-dev (>= 0.1.7-4), autotools-dev
 Standards-Version: 3.7.3
 Homepage: http://fileschanged.sourceforge.net/
 
--- a/debian/rules
+++ b/debian/rules
@@ -23,13 +23,7 @@
 configure-stamp: patch
 	dh_testdir
 
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
-
+	dh_autotools-dev_updateconfig
 	./configure --host=$(DEB_HOST_GNU_TYPE) \
 				--build=$(DEB_BUILD_GNU_TYPE) \
 				--prefix=/usr \
@@ -51,6 +45,7 @@
 	[ ! -f Makefile ] || $(MAKE) clean
 
 clean: up_clean unpatch
+	dh_autotools-dev_restoreconfig
 	dh_clean 
 
 install: build

Reply via email to