Source: tdc
Version: 1.6-2
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs

tdc fails to cross build from source, because the upstream Makefile hard
codes the build architecture pkg-config. After making it substitutable,
tdc FTBFS due to #943376. Please consider applying the attached patch
and wait for the next debhelper upload to fix the FTBFS.

Helmut
--- tdc-1.6.orig/Makefile
+++ tdc-1.6/Makefile
@@ -1,7 +1,8 @@
 export PREFIX ?= /usr/local
 
-CPPFLAGS += $(shell pkg-config x11 xft --cflags)
-LIBS += $(shell pkg-config x11 xft --libs)
+PKG_CONFIG ?= pkg-config
+CPPFLAGS += $(shell $(PKG_CONFIG) x11 xft --cflags)
+LIBS += $(shell $(PKG_CONFIG) x11 xft --libs)
 
 all: tdc tdc.1
 

Reply via email to