summaryrefslogtreecommitdiff
path: root/graphics/MesaLib/buildlink2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/MesaLib/buildlink2.mk')
-rw-r--r--graphics/MesaLib/buildlink2.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/MesaLib/buildlink2.mk b/graphics/MesaLib/buildlink2.mk
index ed1c0961e60..3023491900a 100644
--- a/graphics/MesaLib/buildlink2.mk
+++ b/graphics/MesaLib/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.3 2002/09/01 11:49:43 tron Exp $
+# $NetBSD: buildlink2.mk,v 1.4 2002/10/27 13:50:09 bouyer Exp $
.if !defined(MESALIB_BUILDLINK2_MK)
MESALIB_BUILDLINK2_MK= # defined
@@ -12,7 +12,7 @@ BUILDLINK_PKGSRCDIR.MesaLib?= ../../graphics/MesaLib
# depend on the Mesa package.
#
_REQUIRE_BUILTIN_MESALIB?= NO
-.if (${OPSYS} != SunOS) && exists(${X11BASE}/include/GL/glx.h)
+.if exists(${X11BASE}/include/GL/glx.h)
_IS_BUILTIN_MESALIB!= ${EGREP} -c BuildGLXLibrary ${X11BASE}/lib/X11/config/X11.tmpl || ${TRUE}
.else
_IS_BUILTIN_MESALIB= 0