Package: enca
Version: 1.15-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch trusty

Hi,

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.  enca 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
following.

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

diff -Nru enca-1.15/debian/control enca-1.15/debian/control
--- enca-1.15/debian/control    2013-09-30 09:13:17.000000000 +0100
+++ enca-1.15/debian/control    2013-12-19 10:42:46.000000000 +0000
@@ -1,7 +1,7 @@
 Source: enca
 Priority: optional
 Maintainer: Michal Čihař <ni...@debian.org>
-Build-Depends: debhelper (>= 9), autotools-dev, librecode-dev, dpkg-dev (>= 
1.16.1~)
+Build-Depends: debhelper (>= 9), dh-autoreconf, librecode-dev, dpkg-dev (>= 
1.16.1~)
 Standards-Version: 3.9.4
 Section: text
 Vcs-Browser: 
http://anonscm.debian.org/viewvc/collab-maint/deb-maint/enca/trunk/
diff -Nru enca-1.15/debian/rules enca-1.15/debian/rules
--- enca-1.15/debian/rules      2013-09-30 09:09:25.000000000 +0100
+++ enca-1.15/debian/rules      2013-12-19 10:42:32.000000000 +0000
@@ -1,8 +1,6 @@
 #!/usr/bin/make -f
 
 override_dh_auto_configure:
-       cp -f /usr/share/misc/config.guess .
-       cp -f /usr/share/misc/config.sub .
        CFLAGS="$(CFLAGS)" dh_auto_configure -- \
               --libexecdir=\$${prefix}/lib \
               --with-librecode \
@@ -14,4 +12,4 @@
        dh_strip --dbg-package=libenca-dbg
 
 %:
-       dh $@ --with autotools_dev
+       dh $@ --with autoreconf

Thanks,

-- 
Colin Watson                                       [cjwat...@ubuntu.com]


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to