summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2002-10-27 17:58:12 +0000
committerbouyer <bouyer@pkgsrc.org>2002-10-27 17:58:12 +0000
commitdda4dac13b80a230ac9c87913581496f875646aa (patch)
tree11ee145a17cd0b6133614afbf6571053fcc9073b /graphics
parent83c68e0ca79cb1a9cddd58aba308821f67db2943 (diff)
downloadpkgsrc-dda4dac13b80a230ac9c87913581496f875646aa.tar.gz
libGLU is part of Free4 on Solaris too.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/glu/Makefile4
-rw-r--r--graphics/glu/buildlink2.mk4
2 files changed, 4 insertions, 4 deletions
diff --git a/graphics/glu/Makefile b/graphics/glu/Makefile
index 05bf4edc200..b5744f710e3 100644
--- a/graphics/glu/Makefile
+++ b/graphics/glu/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2002/09/01 11:49:42 tron Exp $
+# $NetBSD: Makefile,v 1.13 2002/10/27 17:58:12 bouyer 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 (${OPSYS} != SunOS) && exists(${X11BASE}/include/GL/glu.h)
+.if exists(${X11BASE}/include/GL/glu.h)
_IS_BUILTIN_GLU!= ${EGREP} -c BuildGLULibrary ${X11BASE}/lib/X11/config/X11.tmpl || ${TRUE}
.else
_IS_BUILTIN_GLU= 0
diff --git a/graphics/glu/buildlink2.mk b/graphics/glu/buildlink2.mk
index a75c51d1663..beb1464eca6 100644
--- a/graphics/glu/buildlink2.mk
+++ b/graphics/glu/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.3 2002/09/01 11:49:42 tron Exp $
+# $NetBSD: buildlink2.mk,v 1.4 2002/10/27 17:58:12 bouyer Exp $
.if !defined(GLU_BUILDLINK2_MK)
GLU_BUILDLINK2_MK= # defined
@@ -12,7 +12,7 @@ BUILDLINK_PKGSRCDIR.glu?= ../../graphics/glu
# depend on the glu package.
#
_REQUIRE_BUILTIN_GLU?= NO
-.if (${OPSYS} != SunOS) && exists(${X11BASE}/include/GL/glu.h)
+.if exists(${X11BASE}/include/GL/glu.h)
_IS_BUILTIN_GLU!= ${EGREP} -c BuildGLULibrary ${X11BASE}/lib/X11/config/X11.tmpl || ${TRUE}
.else
_IS_BUILTIN_GLU= 0