Source: multitail Version: 6.5.0-6 Tags: patch upstream User: debian-cr...@lists.debian.org Usertags: ftcbfs
multitail fails to cross build from source, because it hard codes the build architecture pkg-config. As a result, it fails to add ncurses flags and fails like #1066473. I suggest making pkg-config substitutable and am attaching a patch for your convenience. Helmut
--- multitail-7.1.2.orig/Makefile +++ multitail-7.1.2/Makefile @@ -1,8 +1,9 @@ include version PLATFORM:=$(shell uname) -CPPFLAGS:=$(shell pkg-config --cflags ncurses) -NCURSES_LIB:=$(shell pkg-config --libs ncurses) +PKG_CONFIG ?= pkg-config +CPPFLAGS:=$(shell $(PKG_CONFIG) --cflags ncurses) +NCURSES_LIB:=$(shell $(PKG_CONFIG) --libs ncurses) DEBUG:=#XXX -g -D_DEBUG ###-pg -Wpedantic ## -pg #-fprofile-arcs # pkg-config --libs --cflags ncurses # -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -lncurses -ltinfo