diff options
Diffstat (limited to 'graphics/tgd/files/patch-aa')
-rw-r--r-- | graphics/tgd/files/patch-aa | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/graphics/tgd/files/patch-aa b/graphics/tgd/files/patch-aa index 66f474bdf916..a3cfc98998fa 100644 --- a/graphics/tgd/files/patch-aa +++ b/graphics/tgd/files/patch-aa @@ -1,25 +1,30 @@ ---- Makefile.orig Mon Feb 22 09:40:53 1999 -+++ Makefile Mon Feb 22 09:47:40 1999 +--- Makefile.orig Mon Oct 7 15:31:25 1996 ++++ Makefile Sat Apr 3 11:15:32 1999 @@ -26,11 +26,10 @@ # PROG = tgd HOME = . -GDHOME = $(HOME)/gd1.2 - CC = gcc +-CC = gcc ++CC ?= gcc CDEFS = -INCLUDE = -I$(HOME) -I$(GDHOME) -GDLIB = $(GDHOME)/libgd.a -+INCLUDE = -I$(HOME) -I/usr/local/include/gd -+GDLIB = /usr/local/lib/libgd.a ++INCLUDE = -I$(HOME) -I${PREFIX}/include/gd ++GDLIB = ${PREFIX}/lib/libgd.a # # Some debugging/profiling options # CFLAGS = -p $(CDEFS) $(INCLUDE) -@@ -43,7 +42,7 @@ - CFLAGS = $(CDEFS) $(INCLUDE) +@@ -40,10 +39,10 @@ + # + # CFLAGS = -g $(CDEFS) $(INCLUDE) + # LDFLAGS = -g -n +-CFLAGS = $(CDEFS) $(INCLUDE) ++CFLAGS += $(CDEFS) $(INCLUDE) LDFLAGS = -LDLIBS = -L$(GDHOME) -lgd -lm -+LDLIBS = -L/usr/local/lib -lgd -lm ++LDLIBS = -L${PREFIX}/lib -lgd -lm MAKEFILE = Makefile FONT1 = tgdFont10x20.c tgdFont12x24.c tgdFont5x8.c tgdFont6x10.c FONT2 = tgdFont6x12.c tgdFont6x13.c tgdFont6x13bold.c tgdFont6x9.c |