Source: jack-stdio Version: 1.4-1 Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap
jack-stdio fails to cross build from source, because its Makefile hard codes the build architecture pkg-config. After making it substitutable, jack-stdio cross builds successfully. Please consider applying the attached patch. Helmut
--- jack-stdio-1.4.orig/Makefile +++ jack-stdio-1.4/Makefile @@ -1,8 +1,9 @@ # override e.g. `make install PREFIX=/usr` PREFIX ?= /usr/local -CFLAGS=-Wall `pkg-config --cflags jack` -O3 -LIBS=`pkg-config --libs jack` -lpthread -lm +PKG_CONFIG ?= pkg-config +CFLAGS=-Wall `$(PKG_CONFIG) --cflags jack` -O3 +LIBS=`$(PKG_CONFIG) --libs jack` -lpthread -lm #compat w/ NetBSD and GNU Make LDADD=${LIBS} LDLIBS=${LIBS}