summaryrefslogtreecommitdiff
path: root/graphics/Mesa
diff options
context:
space:
mode:
authorjlam <jlam>2002-11-18 07:49:24 +0000
committerjlam <jlam>2002-11-18 07:49:24 +0000
commit64c3a6677f8e22b6703ccccc73e078e71396a402 (patch)
tree6aece24589ba3e309c575e03c5f19cb4d45fd2d2 /graphics/Mesa
parente7b2b2b2a7516fa60e1b258801dd12a228e7148c (diff)
downloadpkgsrc-64c3a6677f8e22b6703ccccc73e078e71396a402.tar.gz
Alter Mesa/GL packages so that they may always be installed if
X11PREFIX != X11BASE (xpkgwedge is installed). Introduce a new variable MESA_REQD that defaults to "3.4.2" and represents the version of Mesa/GL needed by a package. MESA_REQD is intended to be used by package Makefiles or by buildlink2.mk files. It should now be possible to update this package to the latest release (5.0), and have it work on: * XF86-3.x with or without xpkgwedge * XF86-4.x with xpkgwedge
Diffstat (limited to 'graphics/Mesa')
-rw-r--r--graphics/Mesa/Makefile6
-rw-r--r--graphics/Mesa/buildlink2.mk3
2 files changed, 4 insertions, 5 deletions
diff --git a/graphics/Mesa/Makefile b/graphics/Mesa/Makefile
index 328fc6a12b2..06341c1ebb5 100644
--- a/graphics/Mesa/Makefile
+++ b/graphics/Mesa/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2002/08/25 18:38:54 jlam Exp $
+# $NetBSD: Makefile,v 1.45 2002/11/18 07:49:24 jlam Exp $
#
PKGNAME= Mesa-${MESA_VERSION}
@@ -13,9 +13,7 @@ CONFLICTS= Mesa-glx-[0-9]*
.include "Makefile.common"
-BUILDLINK_DEPENDS.MesaLib= MesaLib-${MESA_VERSION}
-BUILDLINK_DEPENDS.glu= glu-${MESA_VERSION}
-BUILDLINK_DEPENDS.glut= glut-${MESA_VERSION}
+MESA_REQD= ${MESA_VERSION}
USE_BUILDLINK2= yes
diff --git a/graphics/Mesa/buildlink2.mk b/graphics/Mesa/buildlink2.mk
index 516b28066b4..9bf970381ab 100644
--- a/graphics/Mesa/buildlink2.mk
+++ b/graphics/Mesa/buildlink2.mk
@@ -1,8 +1,9 @@
-# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:38:55 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.3 2002/11/18 07:49:24 jlam Exp $
.if !defined(MESA_BUILDLINK2_MK)
MESA_BUILDLINK2_MK= # defined
+MESA_REQD?= 3.4.2
BUILDLINK_PREFIX.Mesa= ${BUILDLINK_PREFIX.MesaLib}
.include "../../graphics/MesaLib/buildlink2.mk"