summaryrefslogtreecommitdiff
path: root/graphics/MesaLib
diff options
context:
space:
mode:
authorbouyer <bouyer>2002-10-27 13:50:09 +0000
committerbouyer <bouyer>2002-10-27 13:50:09 +0000
commitfa358198cb0ddac8add3d0e1174dccc194fef877 (patch)
tree2fade4bfd30fac334b61b8481fc866d2abfd1f13 /graphics/MesaLib
parentd4f9919528d5a59993d8f69f0622f55c863b38eb (diff)
downloadpkgsrc-fa358198cb0ddac8add3d0e1174dccc194fef877.tar.gz
MesaLib is part of XFree 4 on solaris too.
Diffstat (limited to 'graphics/MesaLib')
-rw-r--r--graphics/MesaLib/Makefile4
-rw-r--r--graphics/MesaLib/buildlink2.mk4
2 files changed, 4 insertions, 4 deletions
diff --git a/graphics/MesaLib/Makefile b/graphics/MesaLib/Makefile
index d1d0cffee31..fe2c3a2f7f9 100644
--- a/graphics/MesaLib/Makefile
+++ b/graphics/MesaLib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2002/09/01 11:49:43 tron Exp $
+# $NetBSD: Makefile,v 1.12 2002/10/27 13:50:09 bouyer Exp $
PKGNAME= MesaLib-${MESA_VERSION}
WRKSRC= ${WRKDIR}/${DISTNAME:S/Lib//}
@@ -14,7 +14,7 @@ CONFIGURE_ARGS+= --without-glut
.include "../../mk/bsd.prefs.mk"
# Check if we got Mesa distributed with XFree86 4.x.
-.if (${OPSYS} != SunOS) && exists(${X11BASE}/include/GL/glx.h)
+.if exists(${X11BASE}/include/GL/glx.h)
_IS_BUILTIN_MESA!= ${EGREP} -c BuildGLXLibrary ${X11BASE}/lib/X11/config/X11.tmpl || ${TRUE}
.else
_IS_BUILTIN_MESA= 0
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