diff options
author | Fernando Seiti Furusato <ferseiti@br.ibm.com> | 2014-07-31 13:54:29 -0400 |
---|---|---|
committer | Hans-Christoph Steiner <hans@eds.org> | 2014-07-31 14:26:13 -0400 |
commit | 69fbae2bebf65ac79e96d96d312669e9c893f55f (patch) | |
tree | 8789b320efd85f80488742c013e86b147c8c8a6b /debian/rules | |
parent | 942e3ff7bdd46d1ec5eab45984d79273d6d06a42 (diff) |
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
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 5 |
1 files changed, 4 insertions, 1 deletions
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 |