Package: libgssglue
Version: 0.4-2
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.  libgssglue 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 macros for new ports.

diff -Nru libgssglue-0.4/debian/control libgssglue-0.4/debian/control
--- libgssglue-0.4/debian/control       2012-06-08 02:27:47.000000000 +0100
+++ libgssglue-0.4/debian/control       2013-12-18 22:17:18.000000000 +0000
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Anibal Monsalve Salazar <ani...@debian.org>
-Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 9), autotools-dev, 
libkrb5-dev
+Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 9), dh-autoreconf, 
libkrb5-dev
 Standards-Version: 3.9.3
 Homepage: http://www.citi.umich.edu/projects/nfsv4/linux/
 
diff -Nru libgssglue-0.4/debian/rules libgssglue-0.4/debian/rules
--- libgssglue-0.4/debian/rules 2012-06-08 05:46:01.000000000 +0100
+++ libgssglue-0.4/debian/rules 2013-12-18 22:16:59.000000000 +0000
@@ -19,7 +19,7 @@
 
 config.status: configure
        dh_testdir
-       cp -f /usr/share/misc/config.sub /usr/share/misc/config.guess .
+       dh_autoreconf
        ./configure --host=$(DEB_HOST_GNU_TYPE) \
            --build=$(DEB_BUILD_GNU_TYPE) \
            --prefix=/usr \
@@ -42,7 +42,7 @@
        dh_testroot
        rm -f build-stamp 
        [ ! -f Makefile ] || $(MAKE) distclean
-       rm -f config.sub config.guess
+       dh_autoreconf_clean
        dh_clean 
 
 install: build

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