Package: wmlongrun
Version: 0.3.0-pre1-4.2
Severity: normal
Tags: patch
User: debian-de...@lists.debian.org
Usertags: autoreconf ppc64el

Dear Maintainer,

In order to avoid FTBFS "wmlongrun" source package on ppc64el arch, config.{sub, guess} files need to be updated before running "./configure" in target:clean of rules file. With attached patch, We have successfully verified building "wmlongrun" source package on ppc64el build machine.

Thanks for considering the patch.

-ravindran.


-- System Information:
Debian Release: jessie/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.16-trunk-powerpc64le (SMP w/32 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages wmlongrun depends on:
ii  libc6     2.19-10
ii  libx11-6  2:1.6.2-3
ii  libxext6  2:1.3.2-1
ii  libxpm4   1:3.5.11-1

wmlongrun recommends no packages.

wmlongrun suggests no packages.

-- no debconf information

--===============4806957131303695759==
Content-Type: text/x-diff; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="update-autotools-config.debpatch"

>From 6984d88b985f7d26e77cc04f8891740c9ffd969d Mon Sep 17 00:00:00 2001
From: Ravindran Arani <r...@linux.vnet.ibm.com>
Date: Fri, 12 Sep 2014 08:05:43 +0000
Subject: [PATCH] autoreconf

---
 debian/control |  2 +-
 debian/rules   | 10 +++-------
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/debian/control b/debian/control
index a901a72..b8c160a 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: wmlongrun
 Section: x11
 Priority: optional
 Maintainer: Francois Gurin <mat...@debian.org>
-Build-Depends: debhelper (>> 3.0.0), libx11-dev, libxext-dev, libxpm-dev, libxt-dev +Build-Depends: debhelper (>> 3.0.0), libx11-dev, libxext-dev, libxpm-dev, libxt-dev, autotools-dev
 Standards-Version: 3.6.1.1

 Package: wmlongrun
diff --git a/debian/rules b/debian/rules
index 1bf03d1..0999a26 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,6 +23,7 @@ endif

 config.status: configure
     dh_testdir
+    dh_autotools-dev_updateconfig
     # Add here commands to configure the package.
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info

@@ -44,13 +45,8 @@ clean:
     rm -f build-stamp

     # Add here commands to clean up after the build process.
-    ./configure
-    -$(MAKE) distclean
-    -test -r /usr/share/misc/config.sub && \
-      cp -f /usr/share/misc/config.sub config.sub
-    -test -r /usr/share/misc/config.guess && \
-      cp -f /usr/share/misc/config.guess config.guess
-
+    [ ! -f Makefile ] || $(MAKE) distclean
+    dh_autotools-dev_restoreconfig

     dh_clean

--
2.1.0


--===============4806957131303695759==--


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to