Package: xqilla
Version: 2.3.0-1
Followup-For: Bug #727524
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 also fix FTBFS on ppc64el by
    getting new libtool macros (still updates config.{sub,guess}).

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 xqilla-2.3.0/debian/control xqilla-2.3.0/debian/control
--- xqilla-2.3.0/debian/control	2011-12-21 04:45:18.000000000 -0500
+++ xqilla-2.3.0/debian/control	2014-01-04 19:26:12.000000000 -0500
@@ -1,7 +1,7 @@
 Source: xqilla
 Priority: extra
 Maintainer: Tommi Vainikainen <tvain...@debian.org>
-Build-Depends: debhelper (>= 8.1.3), autotools-dev, libxerces-c-dev, chrpath
+Build-Depends: debhelper (>= 8.1.3), dh-autoreconf, libxerces-c-dev, chrpath
 Standards-Version: 3.9.2
 Section: libs
 Vcs-Bzr: http://anonscm.debian.org/bzr/collab-maint/xqilla/unstable
diff -Nru xqilla-2.3.0/debian/rules xqilla-2.3.0/debian/rules
--- xqilla-2.3.0/debian/rules	2011-12-21 04:45:27.000000000 -0500
+++ xqilla-2.3.0/debian/rules	2014-01-04 18:41:06.000000000 -0500
@@ -20,13 +20,7 @@
 
 config.status: configure
 	dh_testdir
-
-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
+	dh_autoreconf
 	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --mandir=\$${prefix}/share/man --with-xerces=/usr/ --infodir=\$${prefix}/share/info CXXFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
 
 build: build-stamp
@@ -45,9 +39,8 @@
 	rm -f build-stamp 
 
 	[ ! -f Makefile ] || $(MAKE) distclean
-	rm -f config.sub config.guess
 	rm -f libtool
-
+	dh_autoreconf_clean
 	dh_clean 
 
 install: build

Reply via email to