Package: anubis
Version: 4.1.1+dfsg1-3.2
Followup-For: Bug #727318
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu utopic ubuntu-patch

Dear Maintainer,

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

  * Use dh_autotools-dev instead of manually copying config.{sub,guess} to fix
    FTBFS on arm64.

Thanks for considering the patch.

Logan Rosen



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

Kernel: Linux 3.13.0-24-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 anubis-4.1.1+dfsg1/debian/rules anubis-4.1.1+dfsg1/debian/rules
--- anubis-4.1.1+dfsg1/debian/rules
+++ anubis-4.1.1+dfsg1/debian/rules
@@ -22,12 +22,7 @@
 
 config.status: patch configure
 	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
 	 LIBGNUTLS_CONFIG="/usr/bin/pkg-config gnutls" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-pcre --with-gsasl --with-pam --with-tcp-wrappers --with-socks-proxy CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
 
 build: build-stamp
@@ -43,7 +38,7 @@
 	dh_testroot
 	rm -f build-stamp 
 	[ ! -f Makefile ] || $(MAKE) distclean
-	rm -f config.sub config.guess
+	dh_autotools-dev_restoreconfig
 	dh_clean 
 
 install: build

Reply via email to