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

mdk4 fails to cross build from source. The clean step fails, because
dh_auto_clean does not supply cross tools there, but the Makefile
expects them for all targets. We can simply export a PKG_CONFIG from
dpkg's buildtools.mk to fix that. Please consider applying the attached
patch.

Helmut
diff --minimal -Nru mdk4-4.1/debian/changelog mdk4-4.1/debian/changelog
--- mdk4-4.1/debian/changelog   2019-04-20 18:23:54.000000000 +0200
+++ mdk4-4.1/debian/changelog   2019-06-22 12:34:14.000000000 +0200
@@ -1,3 +1,10 @@
+mdk4 (4.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Supply PKG_CONFIG for all make targets. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 22 Jun 2019 12:34:14 +0200
+
 mdk4 (4.1-1) unstable; urgency=medium
 
   * New upstream version 4.1
diff --minimal -Nru mdk4-4.1/debian/rules mdk4-4.1/debian/rules
--- mdk4-4.1/debian/rules       2019-04-20 18:23:54.000000000 +0200
+++ mdk4-4.1/debian/rules       2019-06-22 12:34:13.000000000 +0200
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 
+-include /usr/share/dpkg/buildtools.mk
+export PKG_CONFIG ?= pkg-config
+
 #export DH_VERBOSE=1
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 

Reply via email to