Source: unworkable Version: 0.53-4 Tags: patch User: helm...@debian.org Usertags: rebootstrap
unworkable fails to cross build from source, because it uses the build architecture pkg-config for discovering libbsd-overlay and thus fails finding it. Making pkg-config substitutable is enough to make unworkable cross buildable. Please consider applying the attached patch. Helmut
--- unworkable-0.53.orig/GNUmakefile +++ unworkable-0.53/GNUmakefile @@ -30,8 +30,9 @@ UNAME=$(shell uname) ifneq (, $(filter Linux GNU GNU/%, $(UNAME))) SRCS+=openbsd-compat/sha1.c -LIBS+=$(shell pkg-config --libs libbsd-overlay) -CFLAGS+=$(shell pkg-config --cflags libbsd-overlay) +PKG_CONFIG?= pkg-config +LIBS+=$(shell $(PKG_CONFIG) --libs libbsd-overlay) +CFLAGS+=$(shell $(PKG_CONFIG) --cflags libbsd-overlay) else ifeq ($(UNAME),sunos) SRCS+=openbsd-compat/err.c