summaryrefslogtreecommitdiff
path: root/graphics/glu
diff options
context:
space:
mode:
authorjschauma <jschauma>2003-07-15 23:31:21 +0000
committerjschauma <jschauma>2003-07-15 23:31:21 +0000
commit08e40c7ed7c7661607918445f96cbbf5d2b3f7b1 (patch)
tree58657d97d9f03dd23f1118cf80319147241b6f14 /graphics/glu
parentfa31aff8d76fcb234b4eb17ea5b6642ce91e952c (diff)
downloadpkgsrc-08e40c7ed7c7661607918445f96cbbf5d2b3f7b1.tar.gz
Hopefully finally get this right:
Default Mesa Version should be 3.4.2, so that people who don't care and have GL in XF don't need to build the whole thing. If MESA_REQD is set to 5.0.1 (as, for example, by MesaDemos), require version 5.0.1 of MesaLib, gl* etc. If libGL.so.5 is found to be present on the system, force MESA_REQD to be 5.0.1 to avoid accidental downgrades if MESA_REQD was not specified before- hand. Changes reviewed by tron@ (thanks!).
Diffstat (limited to 'graphics/glu')
-rw-r--r--graphics/glu/buildlink2.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/glu/buildlink2.mk b/graphics/glu/buildlink2.mk
index 1d44ff79c8b..acf860629be 100644
--- a/graphics/glu/buildlink2.mk
+++ b/graphics/glu/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.10 2003/03/24 18:07:07 jschauma Exp $
+# $NetBSD: buildlink2.mk,v 1.11 2003/07/15 23:31:22 jschauma Exp $
.if !defined(GLU_BUILDLINK2_MK)
GLU_BUILDLINK2_MK= # defined
@@ -11,6 +11,8 @@ BUILDLINK_PKGSRCDIR.glu?= ../../graphics/glu
_REQUIRE_BUILTIN_GLU?= NO
+MAKEFLAGS+= MESA_REQD="${MESA_REQD}"
+
# XXX should be >= 3.4.2
.if !empty(MESA_REQD:M5.[0-9]*)
_IS_BUILTIN_GLU= 0