pkgsrc/misc/gkrellm-flynn/patches/patch-aa
cube 853297bc26 Initial import of gkrellm-flynn, version 0.8 into the NetBSD Package
Collection.  Yes, this is the DooM marine plugin.

Flynn is a tiny system load meter for gkrellm. I've picked
this idea from Timm Mueller's Amiga application which was
derived from a WindowMaker appicon. GKrellFlynn was
written by Henryk Richter.

Flynn is a guy who suffers from your activity, i.e. the
applications consuming precious processor time. Hurt him
plenty!

To make Flynn smile, just click onto his face.
2004-02-25 00:49:59 +00:00

43 lines
1.2 KiB
Text

$NetBSD: patch-aa,v 1.1.1.1 2004/02/25 00:49:59 cube Exp $
--- Makefile.orig 2002-05-07 10:04:49.000000000 +0200
+++ Makefile
@@ -3,12 +3,12 @@
#
# updated for gkrellm2.0
-CC = gcc
-CFLAGS = -c -O -Wall -fPIC `${EXTRACONF}`
+#CC = gcc
+CFLAGS += -c -Wall -fPIC `${EXTRACONF}`
LD = $(CC)
-LDFLAGS = -shared -Wl -o
-INCPATH = -I.
+LDFLAGS += -shared -Wl -o
+INCPATH = -I. -I${BUILDLINK_DIR}/include
INCPATH += ${GKRELL_INC}
TARGET = gkrellflynn.so
@@ -22,10 +22,10 @@ all:
@echo " make gkrellm2"
gkrellm:
- (make GKRELL_INC=-DGKRELLM EXTRACONF="gtk-config --cflags;imlib-config --cflags-gdk" ${TARGET})
+ (${MAKE} GKRELL_INC=-DGKRELLM EXTRACONF="gtk-config --cflags;imlib-config --cflags-gdk" ${TARGET})
gkrellm2:
- (make GKRELL_INC=-DGKRELLM2 EXTRACONF="pkg-config --cflags gtk+-2.0 gthread-2.0" ${TARGET})
+ (${MAKE} GKRELL_INC=-DGKRELLM2 EXTRACONF="pkg-config --cflags gtk+-2.0 gthread-2.0" ${TARGET})
${TARGET}: ${OBJS}
${LD} ${DEBUG} ${LDFLAGS} ${TARGET} ${OBJS}
@@ -44,7 +44,7 @@ installgkrellm:
./install-sub.sh ${TARGET} gkrellm
installgkrellm2:
- ./install-sub.sh ${TARGET} gkrellm2
+ install -c -s -m 644 ${TARGET} ${PREFIX}/lib/gkrellm2/plugins
%.o : %.c
${CC} ${CFLAGS} $(INCPATH) -o $@ $<