Package: coolkey
Version: 1.1.0-13
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
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 instead of autotools-dev to fix FTBFS on ppc64el.

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-5-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 coolkey-1.1.0/debian/control coolkey-1.1.0/debian/control
--- coolkey-1.1.0/debian/control	2014-01-18 09:59:33.000000000 -0500
+++ coolkey-1.1.0/debian/control	2014-01-22 22:24:03.000000000 -0500
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: A. Maitland Bottoms <bott...@debian.org>
 Uploaders: Ludovic Rousseau <rouss...@debian.org>
-Build-Depends: debhelper (>= 9~), autoconf, autotools-dev, pkg-config, zlib1g-dev, libpcsclite-dev, libnss3-dev, libnspr4-dev, dh-exec (>=0.3)
+Build-Depends: debhelper (>= 9~), autoconf, dh-autoreconf, pkg-config, zlib1g-dev, libpcsclite-dev, libnss3-dev, libnspr4-dev, dh-exec (>=0.3)
 Standards-Version: 3.9.3
 Homepage: http://directory.fedoraproject.org/wiki/CoolKey
 Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-coolkey/coolkey/trunk/
diff -Nru coolkey-1.1.0/debian/rules coolkey-1.1.0/debian/rules
--- coolkey-1.1.0/debian/rules	2014-01-18 09:17:29.000000000 -0500
+++ coolkey-1.1.0/debian/rules	2014-01-18 23:45:57.000000000 -0500
@@ -1,19 +1,11 @@
 #!/usr/bin/make -f
 %:
-	dh $@
+	dh $@ --with autoreconf
 
 # copy up to date files
 override_dh_auto_configure:
-	-test -r /usr/share/misc/config.sub && \
-		cp -f /usr/share/misc/config.sub config.sub
-	-test -r /usr/share/misc/config.guess && \
-		cp -f /usr/share/misc/config.guess config.guess
 	( PCSC_CFLAGS=`/usr/bin/pkg-config --cflags libpcsclite` ; PCSC_LIBS=`/usr/bin/pkg-config --libs libpcsclite` ; dh_auto_configure -- --with-debug --disable-dependency-tracking )
 
-override_dh_auto_clean:
-	dh_auto_clean
-	rm -f config.guess config.sub
-
 # avoid libtool -rpath problems
 override_dh_auto_build:
 	sed < libtool > libtool-2 -e 's/^hardcode_libdir_flag_spec.*$$/hardcode_libdir_flag_spec=" -D__LIBTOOL_IS_A_FOOL__ "/' -e '/^archive_cmds="/s/"$$/ \\$$deplibs"/'

Reply via email to