summaryrefslogtreecommitdiff
path: root/graphics/gd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gd/Makefile')
-rw-r--r--graphics/gd/Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile
index 5a2607cf6e0..760536fba2e 100644
--- a/graphics/gd/Makefile
+++ b/graphics/gd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2002/03/13 17:37:06 fredb Exp $
+# $NetBSD: Makefile,v 1.36 2002/08/25 18:39:02 jlam Exp $
#
DISTNAME= gd-1.8.4
@@ -10,8 +10,9 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.boutell.com/gd/
COMMENT= graphics library for fast PNG creation
-USE_BUILDLINK_ONLY= YES
+USE_BUILDLINK2= YES
USE_LIBTOOL= YES
+USE_X11= YES
REPLACE_PERL= bdftogd
.include "../../mk/bsd.prefs.mk"
@@ -20,8 +21,8 @@ REPLACE_PERL= bdftogd
MAKE_ENV+= EXTRA_LIBS="-lsocket -lnsl"
.endif
-CPPFLAGS+= -I${BUILDLINK_DIR}/include/freetype # freetype.h
-CPPFLAGS+= -I${BUILDLINK_DIR}/include/X11 # xpm.h
+CPPFLAGS+= -I${BUILDLINK_PREFIX.freetype}/include/freetype # freetype.h
+CPPFLAGS+= -I${BUILDLINK_PREFIX.xpm}/include/X11 # xpm.h
# When the API changes and breaks binary-compatibility with the previous
# version, increment the MAJOR by 1 and reset the MINOR to 0. Otherwise,
@@ -31,10 +32,10 @@ GD_MAJOR= 1
GD_MINOR= 9
MAKE_ENV+= GD_MAJOR="${GD_MAJOR}" GD_MINOR="${GD_MINOR}" COMPILER="${CC}"
-.include "../../devel/zlib/buildlink.mk"
-.include "../../graphics/freetype-lib/buildlink.mk"
-.include "../../graphics/jpeg/buildlink.mk"
-.include "../../graphics/png/buildlink.mk"
-.include "../../graphics/xpm/buildlink.mk"
-.include "../../mk/x11.buildlink.mk"
+.include "../../devel/zlib/buildlink2.mk"
+.include "../../graphics/freetype-lib/buildlink2.mk"
+.include "../../graphics/jpeg/buildlink2.mk"
+.include "../../graphics/png/buildlink2.mk"
+.include "../../graphics/xpm/buildlink2.mk"
+
.include "../../mk/bsd.pkg.mk"