Source: gtk-nocsd Version: 0~20260321+0b77e1b-1 Tags: patch upstream User: [email protected] Usertags: ftcbfs
gtk-nocsd fails to cross build from source, because the upstream Makefile hard codes the build architecture pkg-config. Once making it substitutable, debhelper provides a working substitution and the build succeeds. I'm attaching a patch for your convenience. Helmut
--- gtk-nocsd-0~20260321+0b77e1b.orig/Makefile +++ gtk-nocsd-0~20260321+0b77e1b/Makefile @@ -29,10 +29,11 @@ # Compilation CC ?= cc -CFLAGS += `pkg-config --cflags libadwaita-1 gobject-2.0 gio-2.0` -Wall -Wextra \ +PKG_CONFIG ?= pkg-config +CFLAGS += `$(PKG_CONFIG) --cflags libadwaita-1 gobject-2.0 gio-2.0` -Wall -Wextra \ -Wconversion -Wstrict-prototypes ifndef NOLDFLAGS - LDFLAGS += `pkg-config --libs gobject-2.0 gio-2.0` + LDFLAGS += `$(PKG_CONFIG) --libs gobject-2.0 gio-2.0` else LDFLAGS = endif

