[PATCH] debian: use autoreconf instead of dh-autoreconf

Keng-Yu Lin kengyu at canonical.com
Thu Feb 9 08:29:51 UTC 2012


dh-autoreconf package is not available in Lucid archive.

Signed-off-by: Keng-Yu Lin <kengyu at canonical.com>
---
 debian/control |    2 +-
 debian/rules   |    7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

Previous PPA builds (0.24.17~l and 0.24.18~l ) failed due to this:
https://launchpad.net/~firmware-testing-team/+archive/ppa-fwts-unstable-crack/+build/3189798

diff --git a/debian/control b/debian/control
index 15a4f24..56eaefb 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: devel
 Priority: optional
 Maintainer: Colin King <colin.king at ubuntu.com>
 Standards-Version: 3.9.2
-Build-Depends: debhelper (>= 7), dh-autoreconf, libpcre3-dev (>= 7.8), libjson0-dev (>= 0.9), flex, bison
+Build-Depends: debhelper (>= 7), autoconf, automake, libtool, libpcre3-dev (>= 7.8), libjson0-dev (>= 0.9), flex, bison
 
 Package: fwts
 Architecture: any
diff --git a/debian/rules b/debian/rules
index bace6e8..92ee62a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +1,8 @@
 #!/usr/bin/make -f
+
+override_dh_auto_configure:
+	autoreconf
+	dh_auto_configure
+
 %:
-	dh $@ --with autoreconf
+	dh $@
-- 
1.7.9





More information about the fwts-devel mailing list