openbsd-ports/sysutils/gkrellm/plugins/stock/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

21 lines
619 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2003/11/03 20:34:18 sturm Exp $
--- Makefile.orig 2003-04-21 12:51:38.000000000 -0700
+++ Makefile 2003-11-01 13:54:47.000000000 -0800
@@ -1,11 +1,9 @@
-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`
+GTK_LIB = `pkg-config gtk+-2.0 gthread-2.0 --libs`
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE)
-LIBS = $(GTK_LIB)
-LFLAGS = -shared
-
-CC = gcc $(CFLAGS) $(FLAGS)
+CFLAGS += -fPIC $(GTK_INCLUDE) -I${PREFIX}/include
+LIBS += $(GTK_LIB)
+LFLAGS += -shared -pthread
OBJS = gkrellstock.o