diff options
author | jschauma <jschauma@pkgsrc.org> | 2003-07-15 23:31:21 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2003-07-15 23:31:21 +0000 |
commit | 937d21f1b753fdbb43ec5c595ab42eca4df5bea5 (patch) | |
tree | 58657d97d9f03dd23f1118cf80319147241b6f14 /graphics/glu | |
parent | f9f6d8711b45e4c492cd6dd2434b5bb944ad7f9d (diff) | |
download | pkgsrc-937d21f1b753fdbb43ec5c595ab42eca4df5bea5.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.mk | 4 |
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 |