Source: xssproxy Version: 1.0.0-1 Tags: patch upstream User: debian-cr...@lists.debian.org Usertags: ftcbfs
xssproxy fails to cross build from source, because the upstream Makefile hard codes the build architecture pkg-config. After making it substitutable, xssproxy cross builds successfully. Please consider applying the attached patch. Helmut
--- xssproxy-1.0.0.orig/Makefile +++ xssproxy-1.0.0/Makefile @@ -1,8 +1,9 @@ bindir = /usr/bin man1dir = /usr/share/man/man1 +PKG_CONFIG ?= pkg-config CFLAGS = -std=c11 -Wall -pedantic -g -O3 -CFLAGS_ALL = `pkg-config --cflags --libs glib-2.0 x11 xscrnsaver dbus-1` $(CFLAGS) +CFLAGS_ALL = `$(PKG_CONFIG) --cflags --libs glib-2.0 x11 xscrnsaver dbus-1` $(CFLAGS) .PHONY: all all: xssproxy xssproxy.1.gz