[Pkg-libburnia-devel] Bug#732612: libisofs: use dh-autoreconf for better new-port coverage

Colin Watson cjwatson at ubuntu.com
Thu Dec 19 10:58:11 UTC 2013

Package: libisofs
Version: 1.3.2-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch trusty


The ppc64el port requires a patch to libtool.m4.  I don't think that's
in Debian yet, but when it is it will require autoreconfing a bunch of
packages to pick it up.  libisofs could handle this quite easily by
using dh-autoreconf rather than just autotools-dev; when automake and
libtool are in use (as they are here), dh-autoreconf is a superset of
autotools-dev, and it seems to still build just fine if I do the

It isn't strictly necessary to set AUTOMAKE='automake --foreign' (the
package builds fine without that), but I thought that it would be best
to do so in order to match the bootstrap script provided.

  * Use dh-autoreconf to update libtool macros for new ports.

diff -Nru libisofs-1.3.2/debian/control libisofs-1.3.2/debian/control
--- libisofs-1.3.2/debian/control	2012-02-03 12:13:45.000000000 +0000
+++ libisofs-1.3.2/debian/control	2013-12-19 10:52:18.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Libburnia packagers <pkg-libburnia-devel at lists.alioth.debian.org>
 Uploaders: George Danchev <danchev at spnet.net>, Mario Danic <mario.danic at gmail.com>
-Build-Depends: autotools-dev, debhelper (>= 8),
+Build-Depends: dh-autoreconf, debhelper (>= 8),
                zlib1g-dev, libacl1-dev, libattr1-dev, libjte-dev
 Build-Depends-Indep: doxygen
 Standards-Version: 3.9.2
diff -Nru libisofs-1.3.2/debian/rules libisofs-1.3.2/debian/rules
--- libisofs-1.3.2/debian/rules	2011-06-17 10:14:44.000000000 +0100
+++ libisofs-1.3.2/debian/rules	2013-12-19 10:54:39.000000000 +0000
@@ -6,10 +6,10 @@
-	dh $@
+	dh $@ --with autoreconf
-	dh $@
+	AUTOMAKE='automake --foreign' dh_autoreconf
 ifneq (,$(filter libisofs-doc, $(shell dh_listpackages)))


Colin Watson                                       [cjwatson at ubuntu.com]

More information about the Pkg-libburnia-devel mailing list