Source: wmcore Version: 0.0.3-1 Tags: patch upstream User: debian-cr...@lists.debian.org Usertags: ftcbfs
wmcore fails to cross build from source, because the upstream Makefile hard codes the build architecture pkg-config. After making it substitutable, wmcore cross builds successfully. Please consider applying the attached patch. Helmut
--- wmcore-0.0.3.orig/Makefile +++ wmcore-0.0.3/Makefile @@ -3,18 +3,19 @@ INSTALL = /usr/bin/install LD = $(CC) +PKG_CONFIG ?= pkg-config CFLAGS += -Wall -O3 \ - $(shell pkg-config dockapp --cflags) \ - $(shell pkg-config x11 --cflags) \ - $(shell pkg-config xext --cflags) \ - $(shell pkg-config xpm --cflags) + $(shell $(PKG_CONFIG) dockapp --cflags) \ + $(shell $(PKG_CONFIG) x11 --cflags) \ + $(shell $(PKG_CONFIG) xext --cflags) \ + $(shell $(PKG_CONFIG) xpm --cflags) LDFLAGS += -Wall -LIBS = $(shell pkg-config dockapp --libs) \ - $(shell pkg-config x11 --libs) \ - $(shell pkg-config xext --libs) \ - $(shell pkg-config xpm --libs) +LIBS = $(shell $(PKG_CONFIG) dockapp --libs) \ + $(shell $(PKG_CONFIG) x11 --libs) \ + $(shell $(PKG_CONFIG) xext --libs) \ + $(shell $(PKG_CONFIG) xpm --libs) OBJS = wmcore.o