Source: silly
Version: 0.1.0
Severity: normal
Tags: patch
User: debian-de...@lists.debian.org
Usertags: autoreconf ppc64el
Dear Maintainer,
In order to avoid FTBFS "silly" source package on ppc64el arch,
config.{sub, guess} and aclocal.m4 files need to be updated.
We have also successfully verified building "silly" source package on
ppc64el build machine after applying attached patch.
Thanks for considering the patch.
-ravindran.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)
Kernel: Linux 3.13-1-powerpc64le (SMP w/16 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
--===============5897434836644548863==
Content-Type: text/x-diff; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="autoreconf.debpatch"
>From f170d96db48baf278b54e9192b95b2a7387b4a67 Mon Sep 17 00:00:00 2001
From: Ravindran Arani <r...@linux.vnet.ibm.com>
Date: Wed, 20 Aug 2014 20:44:21 +0000
Subject: [PATCH] autoreconf
---
debian/control | 2 +-
debian/rules | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index cce7b46..3c245f1 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: silly
Priority: extra
Maintainer: Muammar El Khatib <muam...@debian.org>
Build-Depends: debhelper (>= 7), autotools-dev, libpng-dev, libjpeg-dev,
- doxygen, pkg-config
+ doxygen, pkg-config, automake1.11, dh-autoreconf
Standards-Version: 3.9.3
Section: libs
Homepage: http://www.cegui.org.uk
diff --git a/debian/rules b/debian/rules
index 3b759c4..83c4210 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,8 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+export AUTOMAKE = automake-1.11
+export ACLOCAL = aclocal-1.11
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
@@ -20,6 +22,10 @@ else
endif
config.status: configure
+#to avoid FTBFS during autoreconf and to avoid modifying original source
+#file "configure.ac", touch and rm strictly required files for automake.
+ touch NEWS README
+ dh_autoreconf
dh_testdir
# Add here commands to configure the package.
./configure --prefix=/usr --libdir=/usr/lib --includedir=/usr/include
@@ -36,6 +42,8 @@ build-stamp: config.status
touch build-stamp
clean:
+ [[ ! -f NEWS && ! -f README ]] || rm -rf NEWS README
+ dh_autoreconf_clean
dh_testdir
dh_testroot
rm -f build-stamp
--
2.1.0.rc1
--===============5897434836644548863==--
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org