Source: windowlab Version: 1.40-3 Tags: patch upstream User: debian-cr...@lists.debian.org Usertags: ftcbfs
windowlab fails to cross build from source, because it hard codes the build architecture pkg-config. Please consider applying the attached patch to make it substitutable. Helmut
--- windowlab-1.40.orig/Makefile +++ windowlab-1.40/Makefile @@ -1,5 +1,7 @@ # Makefile for WindowLab +PKG_CONFIG ?= pkg-config + # Comment out to remove shape support (for X11R5 or just a tiny bin) DEFINES += -DSHAPE EXTRA_LIBS += -lXext @@ -35,8 +37,8 @@ # Uncomment to add freetype support (requires XFree86 4.0.2 or later) # This needs -lXext above, even if you have disabled shape support DEFINES += -DXFT -EXTRA_INC += `pkg-config --cflags xft` -EXTRA_LIBS += `pkg-config --libs xft` +EXTRA_INC += `$(PKG_CONFIG) --cflags xft` +EXTRA_LIBS += `$(PKG_CONFIG) --libs xft` # Uncomment for debugging info (abandon all hope, ye who enter here) #DEFINES += -DDEBUG