Source: jpnevulator
Version: 2.3.4-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

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

Helmut
diff --minimal -Nru jpnevulator-2.3.4/debian/changelog 
jpnevulator-2.3.4/debian/changelog
--- jpnevulator-2.3.4/debian/changelog  2016-08-27 01:23:03.000000000 +0200
+++ jpnevulator-2.3.4/debian/changelog  2020-04-18 22:10:22.000000000 +0200
@@ -1,3 +1,10 @@
+jpnevulator (2.3.4-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>  Sat, 18 Apr 2020 22:10:22 +0200
+
 jpnevulator (2.3.4-1) unstable; urgency=low
 
   * New upstream release.
diff --minimal -Nru jpnevulator-2.3.4/debian/control 
jpnevulator-2.3.4/debian/control
--- jpnevulator-2.3.4/debian/control    2016-08-27 00:54:39.000000000 +0200
+++ jpnevulator-2.3.4/debian/control    2020-04-18 22:10:22.000000000 +0200
@@ -3,7 +3,7 @@
 Section: comm
 Priority: optional
 Maintainer: Freddy Spierenburg <fre...@snarl.nl>
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 7)
 Standards-Version: 3.9.8
 
 Package: jpnevulator
diff --minimal -Nru jpnevulator-2.3.4/debian/rules 
jpnevulator-2.3.4/debian/rules
--- jpnevulator-2.3.4/debian/rules      2015-10-02 21:17:31.000000000 +0200
+++ jpnevulator-2.3.4/debian/rules      2020-04-18 22:10:21.000000000 +0200
@@ -38,7 +38,7 @@
        dh_testdir
 
        # Add here commands to compile the package.
-       $(MAKE) CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)"
+       dh_auto_build -- CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" 
LDFLAGS="$(LDFLAGS)"
        #docbook-to-man debian/jpnevulator.sgml > jpnevulator.1
 
        touch $@

Reply via email to