summaryrefslogtreecommitdiff
path: root/math/grpn/patches/patch-aa
blob: a9e783d1990a0527dbc8f57a312fd2d1d1d29741 (plain)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
$NetBSD: patch-aa,v 1.2 2002/05/12 23:21:54 dmcmahill Exp $

--- Makefile.orig	Thu Apr  4 22:56:05 2002
+++ Makefile
@@ -3,10 +3,10 @@
 # Please read the next few lines and enter the correct values.
 
 # where to install GRPN
-PREFIX = /usr/local/
+#PREFIX = /usr/local/
 
 # What compiler should be used
-CC = gcc 
+#CC = gcc 
 
 # Where to find the gtk-config script
 GTK_DIR =
@@ -20,9 +20,10 @@
 # add -DUSE_GNOME if you want to make grpn GNOME compliant.
 
 
-CFLAGS = -g -O2 -I/usr/X11/include  `$(GTK_DIR)gtk-config --cflags` -DGTK_VER_1_1
+#CFLAGS = -g -O2 -I/usr/X11/include  `$(GTK_DIR)gtk-config --cflags` -DGTK_VER_1_1
+CFLAGS+=`$(GTK_CONFIG) --cflags` -DGTK_VER_1_1
 
-DFLAGS =  -L/usr/X11/lib 
+#DFLAGS =  -L/usr/X11/lib 
 
 # end of user configurable section
 
@@ -37,7 +38,7 @@
 
 
 
-LIBS   = `$(GTK_DIR)gtk-config --libs` -lX11 -lm 
+LIBS   = `$(GTK_DIR)$(GTK_CONFIG) --libs` -lX11 -lm 
 
 
 grpn:	$(OBJS)