diff options
Diffstat (limited to 'x11-plugins/gkrellkam/files/gkrellkam-2.0.0-r1-pkgconfig.patch')
-rw-r--r-- | x11-plugins/gkrellkam/files/gkrellkam-2.0.0-r1-pkgconfig.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-plugins/gkrellkam/files/gkrellkam-2.0.0-r1-pkgconfig.patch b/x11-plugins/gkrellkam/files/gkrellkam-2.0.0-r1-pkgconfig.patch new file mode 100644 index 000000000000..c5993890fe6e --- /dev/null +++ b/x11-plugins/gkrellkam/files/gkrellkam-2.0.0-r1-pkgconfig.patch @@ -0,0 +1,13 @@ +--- a/Makefile ++++ b/Makefile +@@ -12,8 +12,9 @@ DESTDIR = + # This should point to the GKrellM headers + GKRELLM_HDRS = /usr/include + ++PKG_CONFIG ?= pkg-config + CC = $(CC) +-GTKFLAGS := $(shell pkg-config gtk+-2.0 --cflags) ++GTKFLAGS := $(shell ${PKG_CONFIG} gtk+-2.0 --cflags) + CFLAGS := $(CFLAGS) -fPIC $(GTKFLAGS) -I$(GKRELLM_HDRS) + LFLAGS = -shared + INST_DIR := $(DESTDIR)/usr/lib/gkrellm2/plugins |