Source: hdup
Version: 2.0.14-4
Tags: patch
User: [email protected]
Usertags: rebootstrap
hdup fails to cross build from source, because it does not pass --host
to ./configure. The easiest way of fixing that is using
dh_auto_configure. Then it fails, because hdup uses a broken, outdated,
embedded copy of AM_PATH_GLIB_2_0. Please remove that copy or update and
register it. Please consider applying the attached patch to fix the
--host part.
Helmut
diff -u hdup-2.0.14/debian/rules hdup-2.0.14/debian/rules
--- hdup-2.0.14/debian/rules
+++ hdup-2.0.14/debian/rules
@@ -12,7 +12,7 @@
config.status: configure
dh_testdir
- ./configure --sysconfdir=/etc --prefix=/usr --exec-prefix=/usr
+ dh_auto_configure -- --exec-prefix=/usr
build: build-stamp
diff -u hdup-2.0.14/debian/changelog hdup-2.0.14/debian/changelog
--- hdup-2.0.14/debian/changelog
+++ hdup-2.0.14/debian/changelog
@@ -1,3 +1,11 @@
+hdup (2.0.14-4.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Improve cross building: Let dh_auto_configure pass --host to ./configure.
+ (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]> Mon, 27 May 2019 22:11:10 +0200
+
hdup (2.0.14-4) unstable; urgency=low
* Now explicitly uses bash in examples/.