Package: liblicense
Version: 0.8.1-3
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. 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 fix FTBFS on ppc64el.

Thanks for considering the patch.

Logan Rosen



-- System Information:
Debian Release: wheezy/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.12.0-7-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 liblicense-0.8.1/debian/rules liblicense-0.8.1/debian/rules
--- liblicense-0.8.1/debian/rules	2012-05-21 16:24:07.000000000 -0400
+++ liblicense-0.8.1/debian/rules	2013-12-31 18:17:27.000000000 -0500
@@ -10,7 +10,7 @@
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
 %:
-	dh $@ --with python2
+	dh $@ --with python2,autoreconf
 
 CFLAGS = -Wall -g
 
@@ -40,12 +40,6 @@
  awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
 
 override_dh_auto_configure:
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
 	mkdir build-nopy
 	cd build-nopy; \
 		$(CONFIGURE) --disable-python; \
@@ -78,7 +72,5 @@
 	set -e && for x in $(PYVERS); do \
 		rm -rf build-$$x; \
 	done
-	rm -fv config.guess \
-		config.sub \
-		license.1
+	rm -fv license.1
 	dh_auto_clean

Reply via email to