From 30b4c5ba5b0371886b63c749536c07cb4196b7e5 Mon Sep 17 00:00:00 2001 From: jschauma Date: Mon, 7 Jul 2003 02:05:59 +0000 Subject: If MESA_REQD is not set, but we detect a 5.x library, set MESA_REQD to the current default of 5.0.1 (rather than 5.0) so that distinfo remains correct. --- graphics/MesaLib/buildlink2.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'graphics/MesaLib') diff --git a/graphics/MesaLib/buildlink2.mk b/graphics/MesaLib/buildlink2.mk index 2478bf12ea2..7a60178217b 100644 --- a/graphics/MesaLib/buildlink2.mk +++ b/graphics/MesaLib/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.12 2003/07/03 18:47:41 jschauma Exp $ +# $NetBSD: buildlink2.mk,v 1.13 2003/07/07 02:05:59 jschauma Exp $ .if !defined(MESALIB_BUILDLINK2_MK) MESALIB_BUILDLINK2_MK= # defined @@ -8,7 +8,7 @@ MESALIB_BUILDLINK2_MK= # defined MESA_REQD?= 3.4.2 .if exists(${X11PREFIX}/lib/libGL.so.5) && empty(MESA_REQD:M5.[0-9]*) -MESA_REQD= 5.0 +MESA_REQD= 5.0.1 .endif BUILDLINK_DEPENDS.MesaLib?= MesaLib>=${MESA_REQD} @@ -20,6 +20,7 @@ _REQUIRE_BUILTIN_MESALIB?= NO .if !empty(MESA_REQD:M5.[0-9]*) _IS_BUILTIN_MESALIB= 0 CPPFLAGS+= -DGLX_GLXEXT_LEGACY +CFLAGS+= -DGLX_GLXEXT_LEGACY .else # Check if we got Mesa distributed with XFree86 4.x or if we need to -- cgit v1.2.3