diff mbox

debian: use autoreconf instead of dh-autoreconf

Message ID 1328776191-16862-1-git-send-email-kengyu@canonical.com
State Accepted
Headers show

Commit Message

Keng-Yu Lin Feb. 9, 2012, 8:29 a.m. UTC
dh-autoreconf package is not available in Lucid archive.

Signed-off-by: Keng-Yu Lin <kengyu@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

Comments

Colin Ian King Feb. 9, 2012, 9:26 a.m. UTC | #1
On 09/02/12 08:29, Keng-Yu Lin wrote:
> dh-autoreconf package is not available in Lucid archive.
>
> Signed-off-by: Keng-Yu Lin<kengyu@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@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 $@

Acked-by: Colin King <colin.king@canonical.com>
Alex Hung March 9, 2012, 6:50 a.m. UTC | #2
On 02/09/2012 04:29 PM, Keng-Yu Lin wrote:
> dh-autoreconf package is not available in Lucid archive.
>
> Signed-off-by: Keng-Yu Lin<kengyu@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@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 $@
Acked-by: Alex Hung <alex.hung@canonical.com>
diff mbox

Patch

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@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 $@