Package: libbrahe
Version: 1.3.2-4
Followup-For: Bug #744601
User: [email protected]
Usertags: origin-ubuntu utopic 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 to get new libtool macros for ppc64el.
* Mark as foreign to fix FTBFS during autoreconf.
Thanks for considering the patch.
Logan Rosen
-- System Information:
Debian Release: jessie/sid
APT prefers utopic-updates
APT policy: (500, 'utopic-updates'), (500, 'utopic-security'), (500,
'utopic'), (100, 'utopic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.15.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 libbrahe-1.3.2/debian/control libbrahe-1.3.2/debian/control
--- libbrahe-1.3.2/debian/control 2012-07-06 18:53:18.000000000 -0400
+++ libbrahe-1.3.2/debian/control 2014-06-15 18:52:07.000000000 -0400
@@ -2,7 +2,7 @@
Section: devel
Priority: optional
Maintainer: Al Stone <[email protected]>
-Build-Depends: debhelper (>= 8.0.0), doxygen
+Build-Depends: debhelper (>= 8.0.0), doxygen, dh-autoreconf
Standards-Version: 3.9.3
Package: libbrahe-dev
diff -Nru libbrahe-1.3.2/debian/patches/foreign libbrahe-1.3.2/debian/patches/foreign
--- libbrahe-1.3.2/debian/patches/foreign 1969-12-31 19:00:00.000000000 -0500
+++ libbrahe-1.3.2/debian/patches/foreign 2014-06-02 00:36:52.000000000 -0400
@@ -0,0 +1,7 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,3 +1,4 @@
++AUTOMAKE_OPTIONS = foreign
+ ACLOCAL_AMFLAGS = -I m4
+
+ if HAVE_DOXYGEN
diff -Nru libbrahe-1.3.2/debian/patches/series libbrahe-1.3.2/debian/patches/series
--- libbrahe-1.3.2/debian/patches/series 2012-07-06 18:53:37.000000000 -0400
+++ libbrahe-1.3.2/debian/patches/series 2014-06-02 00:30:24.000000000 -0400
@@ -1 +1,2 @@
debian-changes
+foreign
diff -Nru libbrahe-1.3.2/debian/rules libbrahe-1.3.2/debian/rules
--- libbrahe-1.3.2/debian/rules 2012-07-06 18:53:18.000000000 -0400
+++ libbrahe-1.3.2/debian/rules 2014-06-02 00:27:31.000000000 -0400
@@ -43,6 +43,7 @@
config.status: configure
dh_testdir
+ dh_autoreconf
# Add here commands to configure the package.
LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" \
CPPFLAGS="$(CPPFLAGS)" CXXFLAGS="$(CXXFLAGS)" \
@@ -68,12 +69,7 @@
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || $(MAKE) distclean
-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_clean
dh_clean
install: build