summaryrefslogtreecommitdiff
path: root/graphics/Mesa/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-25 18:38:05 +0000
committerjlam <jlam@pkgsrc.org>2002-08-25 18:38:05 +0000
commite2afa97f51a1f72e6618533019aaaae07b7d3cf2 (patch)
treed2b31bb9a6a069ebfb63079b9dddde1e6688bc4b /graphics/Mesa/Makefile
parente97ad43756dc8382d2c6cb8a7ae09be0eb540f67 (diff)
downloadpkgsrc-e2afa97f51a1f72e6618533019aaaae07b7d3cf2.tar.gz
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk. This provides sufficient buildlink2 infrastructure to start merging other packages from the buildlink2 branch that have already been converted to use the buildlink2 framework.
Diffstat (limited to 'graphics/Mesa/Makefile')
-rw-r--r--graphics/Mesa/Makefile28
1 files changed, 11 insertions, 17 deletions
diff --git a/graphics/Mesa/Makefile b/graphics/Mesa/Makefile
index 680b2c987bb..328fc6a12b2 100644
--- a/graphics/Mesa/Makefile
+++ b/graphics/Mesa/Makefile
@@ -1,33 +1,23 @@
-# $NetBSD: Makefile,v 1.43 2001/11/29 01:12:34 hubertf Exp $
+# $NetBSD: Makefile,v 1.44 2002/08/25 18:38:54 jlam Exp $
#
-.include "Makefile.common"
-
-DISTNAME= Mesa-${MESA_VERSION}
+PKGNAME= Mesa-${MESA_VERSION}
PKGREVISION= 1
-CATEGORIES= graphics
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= packages@netbsd.org
-HOMEPAGE= http://www.mesa3d.org/
COMMENT= Graphics library meta package, similar to SGI's OpenGL
-
CONFLICTS= Mesa-glx-[0-9]*
-CHECK_MESA= yes
-.include "../../mk/bsd.prefs.mk"
-
-.if ${HAVE_BUILTIN_MESA} == "NO"
-DEPENDS+= MesaLib-${MESA_VERSION}:../../graphics/MesaLib
-.endif
+.include "Makefile.common"
-.if ${HAVE_BUILTIN_GLU} == "NO"
-DEPENDS+= glu-${MESA_VERSION}:../../graphics/glu
-.endif
+BUILDLINK_DEPENDS.MesaLib= MesaLib-${MESA_VERSION}
+BUILDLINK_DEPENDS.glu= glu-${MESA_VERSION}
+BUILDLINK_DEPENDS.glut= glut-${MESA_VERSION}
-DEPENDS+= glut-${MESA_VERSION}:../../graphics/glut
+USE_BUILDLINK2= yes
USE_X11BASE= yes
NO_CHECKSUM= yes
@@ -38,4 +28,8 @@ EXTRACT_ONLY= # empty
do-install: # empty
+.include "../../graphics/MesaLib/buildlink2.mk"
+.include "../../graphics/glu/buildlink2.mk"
+.include "../../graphics/glut/buildlink2.mk"
+
.include "../../mk/bsd.pkg.mk"