diff options
author | wiz <wiz@pkgsrc.org> | 2002-10-21 01:17:11 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2002-10-21 01:17:11 +0000 |
commit | 16407c179877c140d2e4287a2efc79a32bb1e31d (patch) | |
tree | b8b6ac48854a155c29b12bd0787264ed31018700 /mk | |
parent | 78e8f45664e3643879ab867fac4bccfa73f9c510 (diff) | |
download | pkgsrc-16407c179877c140d2e4287a2efc79a32bb1e31d.tar.gz |
Remove USE_MESA -- now unused.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 13 | ||||
-rw-r--r-- | mk/bsd.prefs.mk | 35 |
2 files changed, 3 insertions, 45 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index edd4439a5e1..1199c7db63b 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -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) diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk index ef6f920c5fc..4eda516753a 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -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)) |