[Pkg-ofed-commits] [mstflint] 12/25: Run autoreconf on build

Benjamin Drung bdrung at moszumanska.debian.org
Tue Jan 3 11:58:10 UTC 2017


This is an automated email from the git hooks/post-receive script.

bdrung pushed a commit to branch master
in repository mstflint.

commit 1a42ba06cc4f39207235a5e8bb5945034a70e459
Author: Benjamin Drung <benjamin.drung at profitbricks.com>
Date:   Tue Aug 16 16:23:06 2016 +0200

    Run autoreconf on build
    
    To avoid having outdated autotools files, run autoreconf while building
    the package.
---
 debian/control                                     |  2 +-
 debian/patches/0007-Pass-foreign-to-automake.patch | 15 +++++++++++++++
 debian/patches/series                              |  1 +
 debian/rules                                       |  2 +-
 4 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index a58b039..957253b 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: net
 Priority: extra
 Maintainer: OFED and Debian Developement and Discussion <pkg-ofed-devel at lists.alioth.debian.org>
 Uploaders: Ana Beatriz Guerrero Lopez <ana at debian.org>
-Build-Depends: autotools-dev, debhelper (>= 9), libibmad-dev, zlib1g-dev
+Build-Depends: debhelper (>= 9), dh-autoreconf, libibmad-dev, zlib1g-dev
 Standards-Version: 3.9.8
 Vcs-Git: https://anonscm.debian.org/git/pkg-ofed/mstflint.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ofed/mstflint.git
diff --git a/debian/patches/0007-Pass-foreign-to-automake.patch b/debian/patches/0007-Pass-foreign-to-automake.patch
new file mode 100644
index 0000000..f47e6fc
--- /dev/null
+++ b/debian/patches/0007-Pass-foreign-to-automake.patch
@@ -0,0 +1,15 @@
+Description: Add "foreign" option to automake to make autoreconf work
+ The "foreign" option avoid complaints about missing NEWS, README, etc.
+Author: Benjamin Drung <benjamin.drung at profitbricks.com>
+
+--- mstflint-4.4.0+1.12.gd1edd58.orig/configure.ac
++++ mstflint-4.4.0+1.12.gd1edd58/configure.ac
+@@ -10,7 +10,7 @@ AC_SUBST([VERSION])
+ 
+ AC_CONFIG_AUX_DIR(config)
+ AC_CONFIG_SRCDIR([README])
+-AM_INIT_AUTOMAKE
++AM_INIT_AUTOMAKE([foreign])
+ 
+ dnl Checks for programs
+ AC_PROG_CC
diff --git a/debian/patches/series b/debian/patches/series
index 732c99d..62a63f8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
 0004-Fix-other-typos.patch
 0005-Fix-section-mismatch-in-man-pages.patch
 0006-Fix-man-page-errors.patch
+0007-Pass-foreign-to-automake.patch
diff --git a/debian/rules b/debian/rules
index d8309f6..63844c9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,4 +3,4 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:
-	dh $@
+	dh $@ --with autoreconf

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/mstflint.git



More information about the Pkg-ofed-commits mailing list