Source: tinycdb
Version: 0.78
Tags: patch

tinycdb fails to cross build from source, because it does not pass cross
tools to make. Using dh_auto_build fixes that and makes tinycdb cross
build successfully. Please consider applying the attached patch.

Helmut
diff --minimal -Nru tinycdb-0.78/debian/changelog 
tinycdb-0.78+nmu1/debian/changelog
--- tinycdb-0.78/debian/changelog       2012-05-11 16:41:27.000000000 +0200
+++ tinycdb-0.78+nmu1/debian/changelog  2018-06-11 16:03:15.000000000 +0200
@@ -1,3 +1,10 @@
+tinycdb (0.78+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 11 Jun 2018 16:03:15 +0200
+
 tinycdb (0.78) unstable; urgency=low
 
   * new release (0.78), a few minor fixes:
diff --minimal -Nru tinycdb-0.78/debian/rules tinycdb-0.78+nmu1/debian/rules
--- tinycdb-0.78/debian/rules   2012-05-11 16:51:50.000000000 +0200
+++ tinycdb-0.78+nmu1/debian/rules      2018-06-11 16:02:48.000000000 +0200
@@ -16,7 +16,7 @@
 build-arch: libcdb.pc
 libcdb.pc:
        dh_testdir
-       $(MAKE) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
+       dh_auto_build -- CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
                staticlib sharedlib cdb-shared nss
        cp -pf nss_cdb-Makefile cdb-Makefile
        cp -pf cdb-shared cdb

Reply via email to