Source: duktape
Version: 2.3.0-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

duktape fails to cross build from source, because it does not pass cross
tools to make. The easiest way of fixing that - using dh_auto_build -
makes duktape cross buildable. Please consider applying the attached
patch.

Helmut
diff --minimal -Nru duktape-2.3.0/debian/changelog 
duktape-2.3.0/debian/changelog
--- duktape-2.3.0/debian/changelog      2018-08-14 22:12:45.000000000 +0200
+++ duktape-2.3.0/debian/changelog      2019-04-07 20:14:24.000000000 +0200
@@ -1,3 +1,10 @@
+duktape (2.3.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 07 Apr 2019 20:14:24 +0200
+
 duktape (2.3.0-1) unstable; urgency=medium
 
   * New upstream release
diff --minimal -Nru duktape-2.3.0/debian/rules duktape-2.3.0/debian/rules
--- duktape-2.3.0/debian/rules  2017-11-24 18:23:21.000000000 +0100
+++ duktape-2.3.0/debian/rules  2019-04-07 20:14:24.000000000 +0200
@@ -10,8 +10,8 @@
 
 override_dh_auto_build:
        mkdir -p tmp-build/lib tmp-build/include
-       make -f Makefile.sharedlibrary install
-       make -f Makefile.cmdline
+       dh_auto_build --buildsystem=makefile -- -f Makefile.sharedlibrary 
install
+       dh_auto_build --buildsystem=makefile -- -f Makefile.cmdline
        cat debian/duktape.pc.in|sed "s/#TRIPLE#/$(DEB_HOST_MULTIARCH)/g" > 
debian/duktape.pc
        dh_auto_build
 

Reply via email to