Source: fped Version: 0.1+201210-1.1 Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap
fped fails to cross build from source, because the upstream Makefile hard codes the build architecture pkg-config. The attached patch makes pkg-config substitutable and fped cross buildable. Please consider applying it. Helmut
--- fped-0.1+201210.orig/Makefile +++ fped-0.1+201210/Makefile @@ -33,9 +33,10 @@ SHELL = /bin/bash +PKG_CONFIG ?= pkg-config CPPFLAGS += -CFLAGS_GTK = `pkg-config --cflags gtk+-2.0` -LIBS_GTK = `pkg-config --libs gtk+-2.0` +CFLAGS_GTK = `$(PKG_CONFIG) --cflags gtk+-2.0` +LIBS_GTK = `$(PKG_CONFIG) --libs gtk+-2.0` CFLAGS_WARN = -Wall -Wshadow -Wmissing-prototypes \ -Wmissing-declarations -Wno-format-zero-length