Package: xprobe
Version: 0.3-1.1
Severity: normal
Tags: patch
User: debian-de...@lists.debian.org
Usertags: autotools_dev ppc64el

Dear Maintainer,

In order to avoid FTBFS xprobe package on ppc64le arch,
config.guess and config.sub need to be updated.
Please consider the attached patch, which is tested on ppc64le internal build machine.


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

Kernel: Linux 3.13-1-powerpc64le (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xprobe depends on:
ii  libc6       2.19-1
ii  libgcc1     1:4.9.0-6
ii  libpcap0.8  1.5.3-1
ii  libstdc++6  4.9.0-6

xprobe recommends no packages.

xprobe suggests no packages.

-- no debconf information

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

>From 974d3fec7b4c52ef285d507a0401694373b85daf Mon Sep 17 00:00:00 2001
From: Ravindran Arani <r...@linux.vnet.ibm.com>
Date: Tue, 29 Jul 2014 11:46:36 +0000
Subject: [PATCH] update-autotools.debpatch

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

diff --git a/debian/control b/debian/control
index ec968d5..31475ce 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: xprobe
 Section: net
 Priority: extra
 Maintainer: Richard Atterer <atte...@debian.org>
-Build-Depends: debhelper (>> 4), libpcap-dev (>= 0.7.1)
+Build-Depends: debhelper (>> 4), libpcap-dev (>= 0.7.1), autotools-dev
 Standards-Version: 3.5.9

 Package: xprobe
diff --git a/debian/rules b/debian/rules
index 3a1d277..ad3c591 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,8 +6,7 @@
 configure: configure-stamp
 configure-stamp:
     dh_testdir src/xprobe.cc
- ln -s ../../../../cfg-scripts/config.guess libs-external/USI++/src/cfgaux
-    ln -s ../../../../cfg-scripts/config.sub libs-external/USI++/src/cfgaux
+    dh_autotools-dev_updateconfig
     ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc
     touch configure-stamp

@@ -17,15 +16,12 @@ build-stamp:
     $(MAKE)
     touch build-stamp

-# Removing outdated config.guess/sub:
-# dpkg-source will ignore the deletion when making the diff.gz
 clean:
     dh_testdir src/xprobe.cc
     dh_testroot
     rm -f build-stamp configure-stamp
     -$(MAKE) distclean
-    rm -f libs-external/USI++/src/cfgaux/config.guess
-    rm -f libs-external/USI++/src/cfgaux/config.sub
+    dh_autotools-dev_restoreconfig
     dh_clean

 install: build
--
1.8.5.3


--===============1710612676913310510==--

--
Ravindran
IBM LinuxTechnologyCenter


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