Package: src:wmlongrun
Version: 0.3.0-pre1-4.2
Severity: normal
Tags: patch
Dear Maintainer,
Please use autotools-dev to update config.{sub,guess} for new architectures.
In Ubuntu, a similiar patch was applied to achieve the following:
* Use autotools-dev to resolve FTBFS on newer arches.
Thanks for considering the patch.
Erwan Prioul.
diff -Naur a/debian/control b/debian/control
--- a/debian/control 2014-11-12 13:08:25.859998912 +0100
+++ b/debian/control 2014-11-12 13:10:22.567992709 +0100
@@ -2,7 +2,7 @@
Section: x11
Priority: optional
Maintainer: Francois Gurin <[email protected]>
-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 -Naur a/debian/rules b/debian/rules
--- a/debian/rules 2014-11-12 13:08:25.859998912 +0100
+++ b/debian/rules 2014-11-12 13:11:59.879987537 +0100
@@ -23,6 +23,7 @@
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,14 +45,10 @@
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 || true
+ dh_autotools-dev_restoreconfig
dh_clean
install: build