Package: libcdio
Version: 0.83-4.1
Severity: normal
Tags: patch
User: [email protected]
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.  libcdio could handle this quite easily by using
dh-autoreconf rather than just autotools-dev; when libtool is in use (as
of course it is here), dh-autoreconf is a superset of autotools-dev, and
it seems to still build just fine if I do the following.

Sorry I didn't pick this up when doing the previous change to use
autotools-dev!

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

diff -Nru libcdio-0.83/debian/control libcdio-0.83/debian/control
--- libcdio-0.83/debian/control 2013-11-14 11:18:52.000000000 +0000
+++ libcdio-0.83/debian/control 2013-12-16 11:34:32.000000000 +0000
@@ -2,7 +2,7 @@
 Priority: optional
 Section: libs
 Maintainer: Nicolas Boullis <[email protected]>
-Build-Depends: debhelper (>= 8.0.0), dctrl-tools | grep-dctrl, libpopt-dev, 
libncurses5-dev | libncurses-dev, libcam-dev [kfreebsd-any], autotools-dev
+Build-Depends: debhelper (>= 8.0.0), dctrl-tools | grep-dctrl, libpopt-dev, 
libncurses5-dev | libncurses-dev, libcam-dev [kfreebsd-any], dh-autoreconf
 Standards-Version: 3.9.2
 Homepage: http://www.gnu.org/software/libcdio/
 
diff -Nru libcdio-0.83/debian/rules libcdio-0.83/debian/rules
--- libcdio-0.83/debian/rules   2013-11-14 11:19:21.000000000 +0000
+++ libcdio-0.83/debian/rules   2013-12-16 11:34:09.000000000 +0000
@@ -28,7 +28,7 @@
 
 config.status: configure
        dh_testdir
-       dh_autotools-dev_updateconfig
+       dh_autoreconf
        # Add here commands to configure the package.
        CFLAGS="$(CFLAGS)" ./configure --disable-cddb --disable-vcd-info 
--build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) --prefix=/usr 
--mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
 
@@ -55,7 +55,7 @@
        # Add here commands to clean up after the build process.
        [ ! -f Makefile ] || $(MAKE) distclean
 
-       dh_autotools-dev_restoreconfig
+       dh_autoreconf_clean
        dh_clean 
 
 install: build

Thanks,

-- 
Colin Watson                                       [[email protected]]


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to