summaryrefslogtreecommitdiff
path: root/graphics/fly/patches/patch-aa
blob: d28d1a75ccd7d675674d01ce7f0d30c355b937f4 (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
--- Makefile.orig	Wed May 20 05:45:57 1998
+++ Makefile	Wed Jul  1 18:40:42 1998
@@ -4,13 +4,14 @@
 # If you already have gd installed, use the line below and comment out the
 # following line
 #       GD = /path/to/gd/directory
-        GD = gd1.3
-        CC = gcc
+#       GD = gd1.3
+#        CC = gcc
 #    CFLAGS = -O -I$(GD)
-   CFLAGS = -O -pedantic -wall -I$(GD)
-      LIBS = -L$(GD) -lgd -lm
+#   CFLAGS = -O -pedantic -wall -I$(GD)
+    CFLAGS = -O -I$(PREFIX)/include/gd
+      LIBS = -L$(PREFIX)/lib -lgd -lm
 
-all: gd fly
+all: fly
 
 gd: $(GD)
 	cd $(GD); make
@@ -26,4 +27,3 @@
 
 clean:
 	rm -f fly.o fly temp.gif core; cd $(GD); make clean;
-