diff options
author | jschauma <jschauma@pkgsrc.org> | 2003-07-07 02:05:59 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2003-07-07 02:05:59 +0000 |
commit | 0ecb99ecd82d130cfe6d8c20d35f3874a07d08fb (patch) | |
tree | df2f07eed8a0e8ca254b3713f070d1d0418bd4c4 /graphics | |
parent | 06e76b4e837a8415963fe3e26d33e676c52ca862 (diff) | |
download | pkgsrc-0ecb99ecd82d130cfe6d8c20d35f3874a07d08fb.tar.gz |
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.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/MesaLib/buildlink2.mk | 5 |
1 files changed, 3 insertions, 2 deletions
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 |