[pkg-db-devel] Bug#689613: db: autoconf update for arm64 building

Colin Watson cjwatson at ubuntu.com
Tue Feb 12 00:42:25 UTC 2013


On Thu, Oct 04, 2012 at 03:51:11PM +0100, Wookey wrote:
> This package needs autoconf updates (to config.guess and config.sub)
> to build for 64-bit arm. The arm64 port is stalled until this package
> is updated.

We need a bit more than this patch, as this source package contains
multiple copies of config.guess and config.sub which all need to be
updated.  Rather than adding an even larger manual patch, I recommend
using the autotools-dev dh addon, which deals with this more compactly.

  * Use the autotools-dev dh addon to update all our copies of config.guess
    and config.sub.

diff -Nru db-5.1.29/debian/control db-5.1.29/debian/control
--- db-5.1.29/debian/control	2012-06-28 13:03:31.000000000 +0100
+++ db-5.1.29/debian/control	2013-02-11 12:30:42.000000000 +0000
@@ -5,6 +5,7 @@
 Uploaders: Ondřej Surý <ondrej at debian.org>
 Standards-Version: 3.9.3
 Build-Depends: debhelper (>= 9),
+	       autotools-dev (>= 20100122.1),
 	       tcl-dev,
 	       procps [!hurd-i386],
 	       javahelper,
diff -Nru db-5.1.29/debian/rules db-5.1.29/debian/rules
--- db-5.1.29/debian/rules	2012-06-28 13:03:31.000000000 +0100
+++ db-5.1.29/debian/rules	2013-02-11 12:31:04.000000000 +0000
@@ -91,7 +91,7 @@
 version_major=$(shell expr `pwd` : '.*-\([0-9]*\).[0-9.]*')
 
 %:
-	dh $@ $(DH_PLUGINS)
+	dh $@ --with=autotools-dev $(DH_PLUGINS)
 
 override_dh_auto_configure:
 	dh_auto_configure -Ddist -Bbuild -- $(CONFIGURE_SWITCHES)

Thanks,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]



More information about the pkg-db-devel mailing list