summaryrefslogtreecommitdiffstats
path: root/math/grpn/files/patch-aa
blob: 443851e9a51d16b6d231145a6919d78ee650fc29 (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
--- Makefile.orig	Mon May 31 21:46:31 1999
+++ Makefile	Mon Oct 25 19:52:03 1999
@@ -3,7 +3,7 @@
 # Please read the next few lines and enter the correct values.
 
 # What compiler should be used
-CC = gcc 
+CC?= gcc 
 
 # Where to find the gtk-config script
 GTK_DIR =
@@ -17,9 +17,9 @@
 # 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+= -I${X11BASE}/include -I${PREFIX}/include  `${GTK_CONFIG} --cflags` -DGTK_VER_1_1
 
-DFLAGS =  -L/usr/X11/lib 
+DFLAGS = -L${X11BASE}/lib -L${PREFIX}/lib
 
 # end of user configurable section
 
@@ -34,7 +34,7 @@
 
 
 
-LIBS   = `$(GTK_DIR)gtk-config --libs` -lX11 -lm 
+LIBS   = `${GTK_CONFIG} --libs` -lX11 -lm 
 
 
 grpn:	$(OBJS)
OpenPOWER on IntegriCloud