diff options
author | obache <obache> | 2010-11-23 06:22:28 +0000 |
---|---|---|
committer | obache <obache> | 2010-11-23 06:22:28 +0000 |
commit | 92f4e1977f9db2e51979a516515ec31cfadcd9a4 (patch) | |
tree | c26a1b12c8a371eca22330fbcebe8cdf0d7b8fdd /graphics/fly/patches | |
parent | 00e2264b5b90402f21d0b6bcf203a41c57be6be0 (diff) | |
download | pkgsrc-92f4e1977f9db2e51979a516515ec31cfadcd9a4.tar.gz |
Some improvements
* libfreetype support had been dropped in GD-2.x, no need to buildlink here.
* libXpm dependency is optionify in current graphics/gd, no need libdlink here.
* take CFLAGS and LIBS for libgd from gdlib-config.
* use SUBST for replacing PREFIX.
Bump PKGREVISION.
Diffstat (limited to 'graphics/fly/patches')
-rw-r--r-- | graphics/fly/patches/patch-aa | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/fly/patches/patch-aa b/graphics/fly/patches/patch-aa index 18d331aa19d..fbb02538a1f 100644 --- a/graphics/fly/patches/patch-aa +++ b/graphics/fly/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.8 2003/06/23 10:39:51 adam Exp $ +$NetBSD: patch-aa,v 1.9 2010/11/23 06:22:29 obache Exp $ --- Makefile.orig Thu Jan 14 17:42:34 1999 +++ Makefile Sun Oct 31 00:18:17 1999 @@ -16,8 +16,8 @@ $NetBSD: patch-aa,v 1.8 2003/06/23 10:39:51 adam Exp $ +# CFLAGS = -O -I$(GD) +# #CFLAGS = -O -pedantic -Wall -I$(GD) +# LIBS = -L$(GD) -lgd -lm -+CFLAGS += ${CPPFLAGS} -+LIBS = ${LDFLAGS} -lgd -lpng -lz -lttf -lintl -lXpm -lX11 -ljpeg -lm ++CFLAGS += ${CPPFLAGS} `gdlib-config --cflags` ++LIBS = ${LDFLAGS} `gdlib-config --ldflags` -lgd `gdlib-config --libs` -all: gd fly +all: fly |