aboutsummaryrefslogtreecommitdiff
path: root/graphics/gkrellkam/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gkrellkam/files/patch-Makefile')
-rw-r--r--graphics/gkrellkam/files/patch-Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/gkrellkam/files/patch-Makefile b/graphics/gkrellkam/files/patch-Makefile
index f6374642bcf7..7c9e04268ebd 100644
--- a/graphics/gkrellkam/files/patch-Makefile
+++ b/graphics/gkrellkam/files/patch-Makefile
@@ -10,7 +10,7 @@
-CFLAGS := $(CFLAGS) -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS) -I$(GKRELLM_HDRS)
+GTKFLAGS = `${GTK_CONFIG} --cflags`
+IMLIBFLAGS = `${IMLIB_CONFIG} --cflags-gdk`
-+CFLAGS += -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS) -I${X11BASE}/include/gkrellm
++CFLAGS += -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS) -I${LOCALBASE}/include/gkrellm
LDFLAGS := -shared -Wl
INST_DIR := $(DESTDIR)/usr/lib/gkrellm/plugins
USER_INST_DIR := $(DESTDIR)$(HOME)/.gkrellm/plugins