diff options
Diffstat (limited to 'sysutils/gkrelltop/files/patch-makefile')
-rw-r--r-- | sysutils/gkrelltop/files/patch-makefile | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/sysutils/gkrelltop/files/patch-makefile b/sysutils/gkrelltop/files/patch-makefile index e0094d8e21ac..9403be69ebb4 100644 --- a/sysutils/gkrelltop/files/patch-makefile +++ b/sysutils/gkrelltop/files/patch-makefile @@ -1,20 +1,11 @@ ---- Makefile.orig Thu May 27 08:46:10 2004 -+++ Makefile Mon Aug 16 10:27:36 2004 -@@ -27,7 +27,7 @@ - - GKRELL1FLAG=1 - #find out if we have gkrellm 2 or 1 (from the gtk+ version) --GKRELL1FLAG=$(shell bash -c 'pkg-config gtk+-2.0 --cflags &>/dev/null && echo 0') -+GKRELL1FLAG=$(shell sh -c 'pkg-config gtk+-2.0 --cflags >/dev/null && echo 0') - GKRELLTOP= gkrelltop.so - OBJ = top_three.o gkrelltop.o - +--- Makefile.orig Sun Dec 19 14:25:10 2004 ++++ Makefile Sun Dec 19 14:02:12 2004 @@ -65,7 +65,7 @@ + LIBSD = `glib-config --libs` + CONFIGURE_ARGS += --with-glib12 + else +-CFLAGSD = -D$(OSFLAG) -fPIC -Wall `pkg-config glib-2.0 --cflags` ++CFLAGSD = -D$(OSFLAG) -I/usr/X11R6/include -fPIC -Wall `pkg-config glib-2.0 --cflags` LIBSD = `pkg-config glib-2.0 --libs` endif INSTALLDIRD=$(HOME)/.gkrellm2/plugins-gkrellmd --CCD = gcc $(CFLAGSD) -+CCD = gcc -I${X11BASE}/include $(CFLAGSD) - OBJD = gkrelltopd.o top_three.o - - DUMMY_VAR := $(shell ./configure $(CONFIGURE_ARGS)) |