Source: kanjipad Version: 2.0.0-8 Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap
kanjipad fails to cross build from source, because the upstream Makefile hard codes the build architecture pkg-config. The attached patch makes it substitutable and kanjipad cross buildable. Please consider applying it. Helmut
--- kanjipad-2.0.0.orig/Makefile +++ kanjipad-2.0.0/Makefile @@ -1,8 +1,9 @@ OPTIMIZE=-O2 -g -Wall -GTKINC=$(shell pkg-config --cflags gtk+-2.0) -GTKLIBS=$(shell pkg-config --libs gtk+-2.0) -GLIBLIBS=$(shell pkg-config --libs glib-2.0) +PKG_CONFIG ?= pkg-config +GTKINC=$(shell $(PKG_CONFIG) --cflags gtk+-2.0) +GTKLIBS=$(shell $(PKG_CONFIG) --libs gtk+-2.0) +GLIBLIBS=$(shell $(PKG_CONFIG) --libs glib-2.0) PREFIX=/usr/local DATADIR=$(PREFIX)/share