Package: neon27
Version: 0.30.0-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.  neon27 could handle this quite easily by using
dh-autoreconf, which will update its copies of the libtool macros.

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

diff -Nru neon27-0.30.0/debian/control neon27-0.30.0/debian/control
--- neon27-0.30.0/debian/control        2013-08-22 18:37:38.000000000 +0100
+++ neon27-0.30.0/debian/control        2013-12-18 15:36:51.000000000 +0000
@@ -2,7 +2,7 @@
 Section: net
 Priority: optional
 Maintainer: Laszlo Boszormenyi (GCS) <[email protected]>
-Build-Depends: debhelper (>= 5.0.0), pkg-config, libxml2-dev, libssl-dev (>= 
0.9.8c), libgnutls-dev (>= 2.8.3), libkrb5-dev, libz-dev, autotools-dev, 
binutils (>= 2.14.90.0.7), ca-certificates, chrpath
+Build-Depends: debhelper (>= 5.0.0), pkg-config, libxml2-dev, libssl-dev (>= 
0.9.8c), libgnutls-dev (>= 2.8.3), libkrb5-dev, libz-dev, dh-autoreconf, 
binutils (>= 2.14.90.0.7), ca-certificates, chrpath
 Homepage: http://www.webdav.org/neon/
 Standards-Version: 3.9.4
 
diff -Nru neon27-0.30.0/debian/rules neon27-0.30.0/debian/rules
--- neon27-0.30.0/debian/rules  2013-08-22 18:32:55.000000000 +0100
+++ neon27-0.30.0/debian/rules  2013-12-18 15:56:12.000000000 +0000
@@ -19,19 +19,18 @@
                --with-libxml2
 CFLAGS="-O2 -g"
 
-${BUILDDIR}/neon-openssl/config.status: configure
-       cp  /usr/share/misc/config.guess \
-           /usr/share/misc/config.sub \
-         ./
+build-autoreconf:
+       LIBTOOLIZE='libtoolize --install' dh_autoreconf \
+               autoreconf -- -f -i -I macros
+       touch build-autoreconf
+
+${BUILDDIR}/neon-openssl/config.status: build-autoreconf
        install -d $(BUILDDIR)/neon-openssl
        cd $(BUILDDIR)/neon-openssl/ && \
                        CFLAGS=$(CFLAGS) $(CURDIR)/configure ${CONFIG_COMMON} \
                        --with-ssl=openssl
 
-${BUILDDIR}/neon-gnutls/config.status: configure
-       cp  /usr/share/misc/config.guess \
-           /usr/share/misc/config.sub \
-         ./
+${BUILDDIR}/neon-gnutls/config.status: build-autoreconf
        install -d $(BUILDDIR)/neon-gnutls
        cd $(BUILDDIR)/neon-gnutls/ && \
                        CFLAGS=$(CFLAGS) $(CURDIR)/configure ${CONFIG_COMMON} \
@@ -65,13 +64,14 @@
 clean:
        dh_testdir
        dh_testroot
-       -rm -f build-openssl build-gnutls install-openssl install-gnutls \
+       -rm -f build-autoreconf build-openssl build-gnutls \
+           install-openssl install-gnutls \
            macros/changelog.m4
-       -rm -f config.sub config.guess
        rm -rf $(BUILDDIR)
        [ ! -f Makefile ] || $(MAKE) distclean
        -rm -rf Makefile src/Makefile test/Makefile config.h config.cache 
config.log config.status
        -rm -rf libtool neon-config src/.libs src/*.o
+       dh_autoreconf_clean
        dh_clean
 
 

Thanks,

-- 
Colin Watson                                       [[email protected]]


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

Reply via email to