summaryrefslogtreecommitdiff
path: root/graphics/Mesa
diff options
context:
space:
mode:
authorveego <veego>2001-06-17 08:08:49 +0000
committerveego <veego>2001-06-17 08:08:49 +0000
commitb65b138b9f576b999d2bbd146b18a47c61c3fb6a (patch)
tree0725dd6bb2599cb5b4fe32db892cb26d6ae30a1c /graphics/Mesa
parentf274e36a5c4564688dbc270e54fdd3e89e886935 (diff)
downloadpkgsrc-b65b138b9f576b999d2bbd146b18a47c61c3fb6a.tar.gz
Use HAVE_BUILTIN_GLU from <bsd.prefs.mk> to exclude the dependency for glu
on XFree86 4.1.0, which now comes with this library. Bump the version number for this package to ${DISTNAME}nb1 (3.4.2nb1).
Diffstat (limited to 'graphics/Mesa')
-rw-r--r--graphics/Mesa/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/graphics/Mesa/Makefile b/graphics/Mesa/Makefile
index 7989d2a7f56..302ecf41e4f 100644
--- a/graphics/Mesa/Makefile
+++ b/graphics/Mesa/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.39 2001/04/12 20:38:25 hubertf Exp $
+# $NetBSD: Makefile,v 1.40 2001/06/17 08:08:49 veego Exp $
#
.include "Makefile.common"
DISTNAME= Mesa-${MESA_VERSION}
+PKGNAME= ${DISTNAME}nb1
CATEGORIES= graphics
MASTER_SITES= # empty
DISTFILES= # empty
@@ -12,8 +13,6 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.ssec.wisc.edu/~brianp/Mesa.html
COMMENT= Graphics library meta package, similar to SGI's OpenGL
-DEPENDS+= glu-${MESA_VERSION}:../../graphics/glu
-DEPENDS+= glut-${MESA_VERSION}:../../graphics/glut
CONFLICTS= Mesa-glx-*
@@ -24,6 +23,12 @@ CHECK_MESA= yes
DEPENDS+= MesaLib-${MESA_VERSION}:../../graphics/MesaLib
.endif
+.if ${HAVE_BUILTIN_GLU} == "NO"
+DEPENDS+= glu-${MESA_VERSION}:../../graphics/glu
+.endif
+
+DEPENDS+= glut-${MESA_VERSION}:../../graphics/glut
+
USE_X11BASE= yes
NO_CHECKSUM= yes
NO_PATCH= yes