aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/cross.patch
blob: 15575ea309c3dbb8c202e2d103679fe4b473d6ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- fbxkb-0.6.orig/Makefile.common
+++ fbxkb-0.6/Makefile.common
@@ -20,8 +20,9 @@
 endif
 
 CC = gcc
-LIBS = -lX11 $(shell pkg-config --libs gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0) -L/usr/X11R6/lib  -lXmu
-INCS = $(shell pkg-config --cflags gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0)
+PKG_CONFIG ?= pkg-config
+LIBS = -lX11 $(shell $(PKG_CONFIG) --libs gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0) -L/usr/X11R6/lib  -lXmu
+INCS = $(shell $(PKG_CONFIG) --cflags gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0)
 CFLAGS ?= -O2    # overwriten by command line or env. variable
 CFLAGS += -Wall # always nice to have 
 ifneq (,$(DEVEL))
bgstack15