Package: pfstools
Version: 1.8.5-1
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-6-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 pfstools-1.8.5/debian/control pfstools-1.8.5/debian/control
--- pfstools-1.8.5/debian/control	2012-06-30 07:27:14.000000000 -0400
+++ pfstools-1.8.5/debian/control	2014-02-04 15:59:54.000000000 -0500
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian PhotoTools Maintainers <pkg-phototools-de...@lists.alioth.debian.org>
 Uploaders: Sebastian Harl <tok...@debian.org>
-Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.14.6), gfortran, autotools-dev, libqt4-dev, libmagick++-dev | libmagick++9-dev, libtiff4-dev, libopenexr-dev, libnetpbm10-dev, liboctave-dev, texlive-latex-base, freeglut3-dev
+Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.14.6), gfortran, dh-autoreconf, libqt4-dev, libmagick++-dev | libmagick++9-dev, libtiff4-dev, libopenexr-dev, libnetpbm10-dev, liboctave-dev, texlive-latex-base, freeglut3-dev
 Standards-Version: 3.9.3
 Homepage: http://pfstools.sourceforge.net/
 Vcs-Git: git://git.debian.org/git/pkg-phototools/pfstools.git
diff -Nru pfstools-1.8.5/debian/rules pfstools-1.8.5/debian/rules
--- pfstools-1.8.5/debian/rules	2012-06-30 08:31:35.000000000 -0400
+++ pfstools-1.8.5/debian/rules	2014-01-31 13:34:39.000000000 -0500
@@ -34,13 +34,7 @@
 
 config.status: configure
 	dh_testdir
-	
-	for file in config.guess config.sub; do \
-		if [ ! -e $$file.upstream ]; then \
-			mv $$file $$file.upstream; \
-			ln -s /usr/share/misc/$$file .; \
-		fi \
-	done
+	dh_autoreconf
 	
 	./configure $(confflags) CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" \
 		CXXFLAGS="$(CXXFLAGS)"
@@ -64,13 +58,7 @@
 	[ ! -f Makefile ] || $(MAKE) clean
 	[ ! -f Makefile ] || $(MAKE) distclean
 	
-	for file in config.guess config.sub; do \
-		if [ -e $$file.upstream ]; then \
-			rm -f $$file; \
-			mv $$file.upstream $$file; \
-		fi \
-	done
-	
+	dh_autoreconf_clean	
 	dh_clean
 
 install: build

Reply via email to