freebsd-ports/sysutils/gkrellmouse/files/patch-Makefile
Mario Sergio Fujikawa Ferreira decc27392d New port gkrellmouse version 0.0.2: Mouse odometer plugin for
GKrellM

PR:		29833
Submitted by:	Patrick Li <pat@databits.net>
2001-08-29 00:18:30 +00:00

19 lines
697 B
Text

--- Makefile.orig Wed Aug 1 22:12:08 2001
+++ Makefile Tue Aug 28 21:12:58 2001
@@ -13,12 +13,11 @@
DESTDIR =
# This should point to your gkrellm headers
-GKRELLM_HDRS := /usr/include/gkrellm
+GKRELLM_HDRS := ${X11BASE}/include/gkrellm
-CC := gcc
-GTKFLAGS := $(shell gtk-config --cflags)
-IMLIBFLAGS := $(shell imlib-config --cflags-gdk)
-CFLAGS := $(CFLAGS) -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS) -I$(GKRELLM_HDRS)
+GTKFLAGS = `${GTK_CONFIG} --cflags`
+IMLIBFLAGS = `${IMLIB_CONFIG} --cflags-gdk`
+CFLAGS += -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS) -I$(GKRELLM_HDRS)
LDFLAGS := -shared -Wl
INST_DIR := $(DESTDIR)/usr/lib/gkrellm/plugins
USER_INST_DIR := $(DESTDIR)$(HOME)/.gkrellm/plugins