diff options
author | agc <agc> | 2000-07-18 15:20:59 +0000 |
---|---|---|
committer | agc <agc> | 2000-07-18 15:20:59 +0000 |
commit | 4de7e57da6fc947a6d2390e7b712e5ad22c729cc (patch) | |
tree | d5f0918fc02f3fe5b36f4fc151af6bb7db0076d1 /graphics/gd | |
parent | f32d8518530b0e5de6edd93bcc466fdded925d46 (diff) | |
download | pkgsrc-4de7e57da6fc947a6d2390e7b712e5ad22c729cc.tar.gz |
Use EVAL_PREFIX to be a bit more precise about package prefices.
Diffstat (limited to 'graphics/gd')
-rw-r--r-- | graphics/gd/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile index d0aaf269fc9..a5b2870477f 100644 --- a/graphics/gd/Makefile +++ b/graphics/gd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2000/06/21 00:55:08 jlam Exp $ +# $NetBSD: Makefile,v 1.19 2000/07/18 15:21:00 agc Exp $ # FreeBSD Id: Makefile,v 1.2 1997/02/14 07:55:45 asami Exp # @@ -24,6 +24,7 @@ NO_CONFIGURE= # defined .if ${OPSYS} == "SunOS" DEPENDS+= zlib-*:../../devel/zlib CPPFLAGS+= -I${LOCALBASE}/include # zlib.h +MAKE_ENV+= EXTRA_LIBS="-lsocket -lnsl ${LOCALBASE}/lib/libz.a" .endif # When the API changes and breaks binary-compatibility with the previous @@ -34,8 +35,9 @@ GD_MAJOR= 1 GD_MINOR= 9 MAKE_ENV+= GD_MAJOR="${GD_MAJOR}" GD_MINOR="${GD_MINOR}" +EVAL_PREFIX+= XPMDIR=xpm MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" CPPFLAGS+= -I${LOCALBASE}/include # png.h -CPPFLAGS+= -I${X11BASE}/include -I${X11BASE}/include/X11 # xpm.h +CPPFLAGS+= -I${XPMDIR}/include -I${XPMDIR}/include/X11 # xpm.h .include "../../mk/bsd.pkg.mk" |