Source: gkrellm-mailwatch
Version: 2.4.3-1.1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

gkrellm-mailwatch fails to cross build from source, because it does not
pass cross tools to make. The compiler is automatically passed by
dh_auto_build, but we need to substitute GTK_CONFIG manually. Please
consider applying the attached patch.

Helmut
diff -u gkrellm-mailwatch-2.4.3/debian/changelog 
gkrellm-mailwatch-2.4.3/debian/changelog
--- gkrellm-mailwatch-2.4.3/debian/changelog
+++ gkrellm-mailwatch-2.4.3/debian/changelog
@@ -1,3 +1,10 @@
+gkrellm-mailwatch (2.4.3-1.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 11 Aug 2020 16:03:02 +0200
+
 gkrellm-mailwatch (2.4.3-1.1) unstable; urgency=medium
 
   * Non-maintainer upload
diff -u gkrellm-mailwatch-2.4.3/debian/rules 
gkrellm-mailwatch-2.4.3/debian/rules
--- gkrellm-mailwatch-2.4.3/debian/rules
+++ gkrellm-mailwatch-2.4.3/debian/rules
@@ -8,6 +8,7 @@
 # This is the debhelper compatability version to use.
 #export DH_COMPAT=3
 
+include /usr/share/dpkg/buildtools.mk
 
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
    CFLAGS += -g
@@ -29,7 +30,8 @@
        dh_testdir
 
        # Add here commands to compile the package.
-       $(MAKE) enable_nls=1 \
+       dh_auto_build -- enable_nls=1 \
+         GTK_CONFIG="$(PKG_CONFIG) gtk+-2.0"
          LOCALEDIR=$(CURDIR)/debian/gkrellm-mailwatch/usr/share/locale
        touch build-stamp
 

Reply via email to