From a722bda18dccfccaf1d0dbbe21b6c16e0c0e0bfb Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 1 Sep 2002 11:49:42 +0000 Subject: Fix problem with XFree86 checks under Solaris. --- graphics/glu/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'graphics/glu/Makefile') diff --git a/graphics/glu/Makefile b/graphics/glu/Makefile index d03c8f88302..05bf4edc200 100644 --- a/graphics/glu/Makefile +++ b/graphics/glu/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2002/08/25 18:39:06 jlam Exp $ +# $NetBSD: Makefile,v 1.12 2002/09/01 11:49:42 tron Exp $ PKGNAME= ${DISTNAME:C/MesaLib/glu/} WRKSRC= ${WRKDIR}/${DISTNAME:C/Lib//} @@ -16,7 +16,7 @@ USE_X11BASE= yes .include "../../mk/bsd.prefs.mk" # Check if we got libGLU distributed with XFree86 4.x. -.if exists(${X11BASE}/include/GL/glu.h) +.if (${OPSYS} != SunOS) && exists(${X11BASE}/include/GL/glu.h) _IS_BUILTIN_GLU!= ${EGREP} -c BuildGLULibrary ${X11BASE}/lib/X11/config/X11.tmpl || ${TRUE} .else _IS_BUILTIN_GLU= 0 -- cgit v1.2.3