diff options
author | Michael Haro <mharo@FreeBSD.org> | 1999-04-13 07:06:36 +0000 |
---|---|---|
committer | Michael Haro <mharo@FreeBSD.org> | 1999-04-13 07:06:36 +0000 |
commit | dde4ffa189a85f0a4da347b91bad4a817a91c7f0 (patch) | |
tree | cddfddcfe1a2041512a511755d0d3958f52c6167 /graphics/tgd/files/patch-aa | |
parent | fix a problem with configure not finding all the libraries it needed (diff) |
Add support for PREFIX, CFLAGS and less warnings when building with
CFLAGS=-Wall
PR: 10933
Submitted by: me
Notes
Notes:
svn path=/head/; revision=17828
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 |