Bug#941612: libretro-gambatte FTCBFS: does not pass cross tools to make

Helmut Grohne helmut at subdivi.de
Wed Oct 2 20:29:48 BST 2019


Source: libretro-gambatte
Version: 0.5.0+git20160522+dfsg1-2
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

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

Helmut
-------------- next part --------------
diff --minimal -Nru libretro-gambatte-0.5.0+git20160522+dfsg1/debian/changelog libretro-gambatte-0.5.0+git20160522+dfsg1/debian/changelog
--- libretro-gambatte-0.5.0+git20160522+dfsg1/debian/changelog	2019-03-03 01:06:24.000000000 +0100
+++ libretro-gambatte-0.5.0+git20160522+dfsg1/debian/changelog	2019-10-02 21:26:06.000000000 +0200
@@ -1,3 +1,10 @@
+libretro-gambatte (0.5.0+git20160522+dfsg1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Wed, 02 Oct 2019 21:26:06 +0200
+
 libretro-gambatte (0.5.0+git20160522+dfsg1-2) unstable; urgency=medium
 
   * Team upload
diff --minimal -Nru libretro-gambatte-0.5.0+git20160522+dfsg1/debian/rules libretro-gambatte-0.5.0+git20160522+dfsg1/debian/rules
--- libretro-gambatte-0.5.0+git20160522+dfsg1/debian/rules	2019-03-03 01:06:24.000000000 +0100
+++ libretro-gambatte-0.5.0+git20160522+dfsg1/debian/rules	2019-10-02 21:26:06.000000000 +0200
@@ -12,7 +12,7 @@
 	dh $@
 
 override_dh_auto_build:
-	$(MAKE) -C libgambatte/ -f Makefile.libretro $(PLATFORM)
+	dh_auto_build --buildsystem=makefile --sourcedirectory=libgambatte/ -- -f Makefile.libretro $(PLATFORM)
 
 override_dh_auto_clean:
 	$(MAKE) -C libgambatte/ -f Makefile.libretro clean


More information about the Pkg-games-devel mailing list