Source: watchdog
Version: 5.15-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

watchdog fails to cross build from source, because it does not pass
--host to ./configure. Indirecting the ./configure invocation through
dh_auto_configure solves that issue and makes the cross build succeed.
Please consider applying the attached patch.

Helmut
only in patch2:
unchanged:
--- watchdog-5.15.orig/debian/changelog
+++ watchdog-5.15/debian/changelog
@@ -1,3 +1,10 @@
+watchdog (5.15-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 13 Jan 2017 07:06:22 +0100
+
 watchdog (5.15-1) unstable; urgency=medium
 
   * New upstream version.
only in patch2:
unchanged:
--- watchdog-5.15.orig/debian/rules
+++ watchdog-5.15/debian/rules
@@ -14,7 +14,7 @@
        touch build
 
 Makefile:
-       CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" 
./configure --prefix=/usr \
+       CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" 
dh_auto_configure -- \
                --with-configfile=/etc/watchdog.conf
 
 clean: Makefile

Reply via email to