From 69fbae2bebf65ac79e96d96d312669e9c893f55f Mon Sep 17 00:00:00 2001 From: Fernando Seiti Furusato Date: Thu, 31 Jul 2014 13:54:29 -0400 Subject: use autoreconf and autotools-dev to build on new architectures The package sqlcipher fails to build from source on ppc64el, because config.{guess,sub} are not updated during build. Adding dh_autotools-dev to the build would solve that case. However, as autoconf also being used, I thought it would also be convenient to replace it by a full dh_autoreconf. OBS: Using only dh_autoreconf produces no effect over config.{guess,sub}, since automake is not in use for the source pkg available. The patch attached contains the modifications aforementioned, and are in accordance with the following guide: https://wiki.debian.org/Autoreconf patch from https://bugs.debian.org/755939 --- debian/rules | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 1c2bb30..fbbe723 100755 --- a/debian/rules +++ b/debian/rules @@ -29,7 +29,8 @@ export CFLAGS += -O2 -fno-strict-aliasing \ configure: configure-stamp configure-stamp: dh_testdir - autoconf + dh_autotools-dev_updateconfig + dh_autoreconf echo CFLAGS = $$CFLAGS ./configure --prefix=/usr --mandir="/usr/share/man" \ $(confflags) --enable-threadsafe \ @@ -62,6 +63,8 @@ clean: rm -f config.log config.h pkgIndex.tcl configure [ ! -f Makefile ] || $(MAKE) distclean rm -f config.h + dh_autotools-dev_restoreconfig + dh_autoreconf_clean dh_clean install: build -- cgit v1.2.3