[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#993122: pev FTCBFS: does not pass cross tools to make



Source: pev
Version: 0.81-4
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

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

Helmut
diff --minimal -Nru pev-0.81/debian/changelog pev-0.81/debian/changelog
--- pev-0.81/debian/changelog	2021-08-21 13:50:00.000000000 +0200
+++ pev-0.81/debian/changelog	2021-08-27 16:04:29.000000000 +0200
@@ -1,3 +1,9 @@
+pev (0.81-5) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Fri, 27 Aug 2021 16:04:29 +0200
+
 pev (0.81-4) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru pev-0.81/debian/rules pev-0.81/debian/rules
--- pev-0.81/debian/rules	2021-08-21 13:50:00.000000000 +0200
+++ pev-0.81/debian/rules	2021-08-27 16:04:04.000000000 +0200
@@ -5,7 +5,7 @@
 	dh_auto_clean
 	$(RM) src/lib/libfuzzy/edit_dist.o src/lib/libfuzzy/fuzzy.o
 override_dh_auto_build:
-	$(MAKE) prefix=/usr pluginsdir=/usr/lib/pev/plugins
+	dh_auto_build -- prefix=/usr pluginsdir=/usr/lib/pev/plugins
 override_dh_auto_install:
 	$(MAKE) prefix=/usr pluginsdir=/usr/lib/pev/plugins \
 	    DESTDIR=$(CURDIR)/debian/pev install

Reply to: