Source: btyacc
Version: 3.0-5
Tags: patch
User: [email protected]
Usertags: rebootstrap
btyacc 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 -
mostly fixes that except for the linker invocation. The LINKER variable
needs to be set as well. Please consider applying the attached patch.
Please also encourage upstream to default LINKER to $(CC).
Helmut
diff -u btyacc-3.0/debian/rules btyacc-3.0/debian/rules
--- btyacc-3.0/debian/rules
+++ btyacc-3.0/debian/rules
@@ -6,7 +6,7 @@
build: build-stamp
build-stamp:
dh_testdir
- $(MAKE)
+ dh_auto_build -- 'LINKER=$$(CC)'
touch build-stamp
clean:
diff -u btyacc-3.0/debian/changelog btyacc-3.0/debian/changelog
--- btyacc-3.0/debian/changelog
+++ btyacc-3.0/debian/changelog
@@ -1,3 +1,12 @@
+btyacc (3.0-5.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: (Closes: #-1)
+ + Let dh_auto_build pass cross tools to make.
+ + Additionally pass compiler as $(LINKER).
+
+ -- Helmut Grohne <[email protected]> Sun, 28 Apr 2019 14:36:57 +0200
+
btyacc (3.0-5) unstable; urgency=low
* Rebuild: finish /usr/doc transition (Closes: #359373)