summaryrefslogtreecommitdiff
path: root/graphics/glut
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-11-18 07:49:24 +0000
committerjlam <jlam@pkgsrc.org>2002-11-18 07:49:24 +0000
commitdb3a779c2dd868f2ee22183d0931287cb71a9f51 (patch)
tree6aece24589ba3e309c575e03c5f19cb4d45fd2d2 /graphics/glut
parent39b20fc8a42330a52c95a2cf15c226ba31a8ec52 (diff)
downloadpkgsrc-db3a779c2dd868f2ee22183d0931287cb71a9f51.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/glut')
-rw-r--r--graphics/glut/buildlink2.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/glut/buildlink2.mk b/graphics/glut/buildlink2.mk
index 493e2b76ad8..dae5d429522 100644
--- a/graphics/glut/buildlink2.mk
+++ b/graphics/glut/buildlink2.mk
@@ -1,10 +1,11 @@
-# $NetBSD: buildlink2.mk,v 1.3 2002/11/17 08:37:20 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.4 2002/11/18 07:49:26 jlam Exp $
.if !defined(GLUT_BUILDLINK2_MK)
GLUT_BUILDLINK2_MK= # defined
+MESA_REQD?= 3.4.2
BUILDLINK_PACKAGES+= glut
-BUILDLINK_DEPENDS.glut?= glut>=3.4.2
+BUILDLINK_DEPENDS.glut?= glut>=${MESA_REQD}
BUILDLINK_PKGSRCDIR.glut?= ../../graphics/glut
EVAL_PREFIX+= BUILDLINK_PREFIX.glut=glut