Remove USE_MESA -- now unused.

This commit is contained in:
wiz 2002-10-21 01:17:11 +00:00
parent 78e8f45664
commit 16407c1798
2 changed files with 3 additions and 45 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: bsd.pkg.mk,v 1.1069 2002/10/20 11:47:04 wiz Exp $
# $NetBSD: bsd.pkg.mk,v 1.1070 2002/10/21 01:17:11 wiz Exp $
#
# This file is in the public domain.
#
@ -736,17 +736,6 @@ XPMDIR_DEFAULT= ${X11BASE}
. undef __BUILTIN_XPM
.endif # USE_XPM
# If USE_MESA is set, depend on Mesa (or Mesa-glx if USE_GLX is defined and
# Mesa/GLX is not included in XFree86)
.if defined(USE_MESA)
. if (defined(USE_GLX) && defined(HAVE_BUILTIN_MESA) && ${HAVE_BUILTIN_MESA} == "NO")
DEPENDS+= Mesa-glx>=20000813:../../graphics/Mesa-glx
. else
DEPENDS+= Mesa>=3.2.1:../../graphics/Mesa
. endif
. undef __BUILTIN_MESA
.endif # USE_MESA
# Check if we got "rman" with XFree86, for packages that need "rman".
.if defined(USE_RMAN)
. if !exists(${X11BASE}/bin/rman)

View file

@ -1,4 +1,4 @@
# $NetBSD: bsd.prefs.mk,v 1.83 2002/10/20 11:47:05 wiz Exp $
# $NetBSD: bsd.prefs.mk,v 1.84 2002/10/21 01:17:12 wiz Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@ -82,7 +82,7 @@ MAKEFLAGS+= LOWER_ARCH=${LOWER_ARCH}
. endif
LOWER_VENDOR?= sun
LOWER_OPSYS?= solaris
# We need to set this early to get "USE_MESA" and "USE_XPM" working.
# We need to set this early to get "USE_XPM" working.
X11BASE?= ${DESTDIR}/usr/openwin
.elif ${OPSYS} == "Linux"
@ -215,37 +215,6 @@ USE_INET6?= NO
XAW_TYPE?= standard
.endif
# Check if we got Mesa distributed with XFree86 4.x or if we need to
# depend on the Mesa package.
# XFree86 starting with 4.1.0 contains now a libGLU, so also check for it.
.if (defined(CHECK_MESA) || defined(USE_MESA))
X11BASE?= /usr/X11R6
.if exists(${X11BASE}/include/GL/glx.h) && \
exists(${X11BASE}/lib/X11/config/X11.tmpl)
__BUILTIN_MESA!= ${EGREP} -c BuildGLXLibrary ${X11BASE}/lib/X11/config/X11.tmpl || ${TRUE}
.else
__BUILTIN_MESA= 0
.endif
.if exists(${X11BASE}/include/GL/glu.h) && \
exists(${X11BASE}/lib/X11/config/X11.tmpl)
__BUILTIN_GLU!= egrep -c BuildGLULibrary ${X11BASE}/lib/X11/config/X11.tmpl || true
.else
__BUILTIN_GLU= 0
.endif
.if ${__BUILTIN_MESA} == "0"
HAVE_BUILTIN_MESA= NO
.else
HAVE_BUILTIN_MESA= YES
.endif
.if ${__BUILTIN_GLU} == "0"
HAVE_BUILTIN_GLU= NO
.else
HAVE_BUILTIN_GLU= YES
.endif
.undef __BUILTIN_MESA
.undef __BUILTIN_GLU
.endif # CHECK_MESA
# Check if we got Xpm distributed with XFree86 4.x or Solaris 9 or if we need
# to depend on the Xpm package.
.if (defined(CHECK_XPM) || defined(USE_XPM))