openbsd-ports/sysutils/gkrellm/plugins/shoot/patches/patch-Makefile
sturm 73ddfa66bd import of gkrellm 2.1.21 and associated plugins
besides bringing gkrellm and the plugins up2date, this introduces a new
port structure, where all plugins are located in sysutils/gkrellm/plugins.

the set of plugins consists of:
aclock, bgchg, flynn, itime, kam, launch, mailwatch, mms, moon, mss, reminder
shoot, stock, sun, volume, weather and wireless

ports done and maintained by Peter Hessler <spambox@theapt.org>

all prior maintainers either agreed to him taking over their plugins or
timed out.
2003-11-03 20:34:16 +00:00

27 lines
800 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
--- Makefile.orig 2002-08-18 18:06:16.000000000 +0200
+++ Makefile 2003-11-02 12:53:29.000000000 +0100
@@ -1,16 +1,15 @@
-GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
-GTK_LIB = `pkg-config gtk+-2.0 --libs`
+GTK_INCLUDE = `pkg-config gtk+-2.0 gthread-2.0 --cflags` -I${LOCALBASE}/include
+GTK_LIB = `pkg-config gtk+-2.0 gthread-2.0 --libs`
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE)
-LIBS = $(GTK_LIB)
-LFLAGS = -shared
+CFLAGS += -fPIC $(GTK_INCLUDE)
+LIBS += $(GTK_LIB)
+LFLAGS += -shared
-CC = gcc $(CFLAGS) $(FLAGS)
OBJS = gkrellshoot.o
gkrellshoot.so: $(OBJS)
- $(CC) $(OBJS) -o gkrellshoot.so $(LFLAGS) $(LIBS)
+ $(CC) $(CFLAGS) $(OBJS) -o gkrellshoot.so $(LFLAGS) $(LIBS)
clean:
rm -f *.o core *.so* *.bak *~