Source: fpgatools
Version: 0.0+201212-1
Tags: patch
User: [email protected]
Usertags: rebootstrap

fpgatools 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 fpgatools cross buildable. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru fpgatools-0.0+201212/debian/changelog 
fpgatools-0.0+201212/debian/changelog
--- fpgatools-0.0+201212/debian/changelog       2012-12-06 02:35:30.000000000 
+0100
+++ fpgatools-0.0+201212/debian/changelog       2019-04-30 06:07:45.000000000 
+0200
@@ -1,3 +1,10 @@
+fpgatools (0.0+201212-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Tue, 30 Apr 2019 06:07:45 +0200
+
 fpgatools (0.0+201212-1) unstable; urgency=low
 
   * New snapshot, taken from commit f4b5b89
diff --minimal -Nru fpgatools-0.0+201212/debian/rules 
fpgatools-0.0+201212/debian/rules
--- fpgatools-0.0+201212/debian/rules   2012-12-06 02:35:30.000000000 +0100
+++ fpgatools-0.0+201212/debian/rules   2019-04-30 06:07:44.000000000 +0200
@@ -14,7 +14,7 @@
        dh $@
 
 override_dh_auto_build:
-       $(MAKE) fp2bit bit2fp
+       dh_auto_build -- fp2bit bit2fp
 
 override_dh_auto_clean:
        $(MAKE) clean

Reply via email to