Source: xsettings-kde
Version: 0.12.3-1
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs

Hi Andreas et al,

thanks for converting the package from cdbs to dh. That's a corner stone
to making it cross buildable. One missing piece is that the upstream
Makefile hard codes the build architecture pkg-config. I'm attaching a
patch for your convenience. Once applying it, xsettings-kde will cross
build.

Helmut
Index: xsettings-kde-0.12.3/Makefile
===================================================================
--- xsettings-kde-0.12.3.orig/Makefile
+++ xsettings-kde-0.12.3/Makefile
@@ -5,11 +5,12 @@ TAG := $(shell echo "V$(VERSION)_$(RELEA
 SVNROOT = svn+ssh://[email protected]/svn/soft/theme/$(PACKAGE)
 
 CFLAGS= -Wall -g
-xsettings_kde_CFLAGS = $(shell pkg-config --cflags x11 gio-2.0 gthread-2.0)
+PKG_CONFIG?=pkg-config
+xsettings_kde_CFLAGS = $(shell $(PKG_CONFIG) --cflags x11 gio-2.0 gthread-2.0)
 
-xsettings_kde_LDFLAGS = $(shell pkg-config --libs x11 gio-2.0 gthread-2.0)
+xsettings_kde_LDFLAGS = $(shell $(PKG_CONFIG) --libs x11 gio-2.0 gthread-2.0)
 
-manager_objects_CFLAGS = $(shell pkg-config --cflags x11 gio-2.0 gthread-2.0)
+manager_objects_CFLAGS = $(shell $(PKG_CONFIG) --cflags x11 gio-2.0 gthread-2.0)
 manager_objects = xsettings-kde.o xsettings-common.o xsettings-manager.o
 
 .c.o:

Reply via email to