aboutsummaryrefslogtreecommitdiff
path: root/misc/gkrellm-reminder/files/patch-Makefile
blob: b53eb5a8ba784687756d9d15a64857bf00ab35bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- Makefile.orig	Sat Dec 15 01:59:31 2001
+++ Makefile	Sat Dec 15 02:01:26 2001
@@ -1,16 +1,14 @@
-GTK_INCLUDE = `gtk-config --cflags`
-GTK_LIB = `gtk-config --libs`
+GTK_INCLUDE = `${GTK_CONFIG} --cflags`
+GTK_LIB = `${GTK_CONFIG} --libs`
 
-IMLIB_INCLUDE = `imlib-config --cflags-gdk`
-IMLIB_LIB = `imlib-config --libs-gdk`
+IMLIB_INCLUDE = `${IMLIB_CONFIG} --cflags-gdk`
+IMLIB_LIB = `${IMLIB_CONFIG} --libs-gdk`
 
-CFLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) -I/usr/pkg/include
+CFLAGS += -Wall $(GTK_INCLUDE) $(IMLIB_INCLUDE)
 
 LIBS = $(GTK_LIB) $(IMLIB_LIB)
 
-LFLAGS = -shared -L/usr/pkg/lib
-
-CC = gcc
+LFLAGS = -shared
 
 all: reminder.so