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

gkrellm-mailwatch fails to cross build from source, because the upstream
Makfile hard codes the build architecture pkg-config. I'm attaching a
patch for your convenience that makes it substitutable.

Helmut
--- gkrellm-mailwatch-2.4.3.orig/Makefile
+++ gkrellm-mailwatch-2.4.3/Makefile
@@ -1,6 +1,7 @@
 # Makefile for the GKrellM mailwatch plugin
 
-GTK_CONFIG ?=pkg-config gtk+-2.0
+PKG_CONFIG ?= pkg-config
+GTK_CONFIG ?= $(PKG_CONFIG) gtk+-2.0
 PLUGIN_DIR ?=/usr/local/lib/gkrellm2/plugins
 
 GTK_INCLUDE = `$(GTK_CONFIG) --cflags`

Reply via email to