Package: libdmtx
Version: 0.7.4-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.  libdmtx 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 libdmtx-0.7.4/debian/control libdmtx-0.7.4/debian/control
--- libdmtx-0.7.4/debian/control        2012-08-20 15:35:19.000000000 +0100
+++ libdmtx-0.7.4/debian/control        2013-12-24 01:14:26.000000000 +0000
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Roberto Lumbreras <ro...@debian.org>
-Build-Depends: cdbs (>=0.4.93~), debhelper (>= 9), autotools-dev
+Build-Depends: cdbs (>=0.4.93~), debhelper (>= 9), dh-autoreconf
 Standards-Version: 3.9.3
 Homepage: http://www.libdmtx.org
 
diff -Nru libdmtx-0.7.4/debian/rules libdmtx-0.7.4/debian/rules
--- libdmtx-0.7.4/debian/rules  2012-08-20 15:33:55.000000000 +0100
+++ libdmtx-0.7.4/debian/rules  2013-12-24 01:14:01.000000000 +0000
@@ -2,6 +2,7 @@
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 
 DEB_DH_INSTALL_SOURCEDIR := debian/tmp
 DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)

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