Package: mona
Version: 1.4-13-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 instead of just config.{sub,guess} updates. 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: 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 mona-1.4-13/debian/control mona-1.4-13/debian/control
--- mona-1.4-13/debian/control	2011-05-11 16:19:03.000000000 -0400
+++ mona-1.4-13/debian/control	2013-12-22 02:21:13.000000000 -0500
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Debian Science Maintainers <debian-science-maintain...@lists.alioth.debian.org>
 Uploaders: Ralf Treinen <trei...@debian.org>
-Build-Depends: debhelper (>= 7.0), bison, flex, autotools-dev, chrpath
+Build-Depends: debhelper (>= 7.0), bison, flex, autotools-dev, chrpath, dh-autoreconf
 Standards-Version: 3.9.2
 Homepage: http://www.brics.dk/~amoeller/mona/index.html
 Vcs-Git: git://git.debian.org/git/debian-science/packages/mona.git
diff -Nru mona-1.4-13/debian/rules mona-1.4-13/debian/rules
--- mona-1.4-13/debian/rules	2011-05-11 16:19:03.000000000 -0400
+++ mona-1.4-13/debian/rules	2013-12-22 01:54:42.000000000 -0500
@@ -23,6 +23,7 @@
                 ln -s /usr/share/misc/config.guess; };\
          [ -h config.sub ] || { mv config.sub config.sub.upstream; \
                 ln -s /usr/share/misc/config.sub; })
+	dh_autoreconf
 	./configure --prefix=/usr CFLAGS=$(OPTFLAGS) CXXFLAGS=$(OPTFLAGS)
 	$(MAKE) CFLAGS=$(OPTFLAGS) CXXFLAGS=$(OPTFLAGS)
 	touch build-stamp
@@ -37,6 +38,7 @@
          [ ! -h  config.sub ] || mv config.sub.upstream config.sub)
 	if [ -e makefile ]; then $(MAKE) distclean; fi
 	-rm build-stamp
+	dh_autoreconf_clean
 	dh_clean
 
 install: build

Reply via email to