Package: libchipcard
Version: 5.0.3beta-4
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

For the ppc64el architecture in Ubuntu, since this package uses libtool, a full
autoreconf is necessary instead of just config.{sub,guess} updates with
autotools-dev. This is because we need new libtool macros for ppc64el.

In Ubuntu, the attached patch was applied to achieve the following:

  * Use dh-autoreconf to get new libtool macros for ppc64el and update
    config.{sub,guess} for new arches.
  * Fix clean target in debian/rules.

Thanks for considering the patch.

Logan Rosen



-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 
'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-2-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru libchipcard-5.0.3beta/debian/control libchipcard-5.0.3beta/debian/control
--- libchipcard-5.0.3beta/debian/control	2013-05-25 18:11:50.000000000 -0400
+++ libchipcard-5.0.3beta/debian/control	2014-01-13 16:03:20.000000000 -0500
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Micha Lenk <[email protected]>
 Build-Depends: debhelper (>= 7.0.50~), libgwenhywfar60-dev (>= 4),
-  gawk, libpcsclite-dev, zlib1g-dev
+  gawk, libpcsclite-dev, zlib1g-dev, dh-autoreconf
 Standards-Version: 3.9.4
 Vcs-Browser: http://svn.debian.org/wsvn/aqbanking/libchipcard/trunk/
 Vcs-Svn: svn://svn.debian.org/svn/aqbanking/libchipcard/trunk
diff -Nru libchipcard-5.0.3beta/debian/rules libchipcard-5.0.3beta/debian/rules
--- libchipcard-5.0.3beta/debian/rules	2013-05-25 18:14:23.000000000 -0400
+++ libchipcard-5.0.3beta/debian/rules	2014-01-11 17:31:56.000000000 -0500
@@ -5,9 +5,9 @@
 # configure.ac checks for the basename of the called $CC binary.
 CC=gcc
 
-clean:
-	dh clean
+override_dh_clean:
 	find $(CURDIR) -type l -exec rm -v \{\} \;
+	dh_clean
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
@@ -15,4 +15,4 @@
 	    $(shell dpkg-buildflags --export=configure)
 
 %:
-	dh $@
+	dh $@ --with autoreconf

Reply via email to