summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorveego <veego@pkgsrc.org>2001-06-17 08:08:49 +0000
committerveego <veego@pkgsrc.org>2001-06-17 08:08:49 +0000
commit1605b48599252b3ef6bfae5f042871ab082fe527 (patch)
tree0725dd6bb2599cb5b4fe32db892cb26d6ae30a1c
parent61dfc1920508961c1dca72380cf89cc3767aacea (diff)
downloadpkgsrc-1605b48599252b3ef6bfae5f042871ab082fe527.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).
-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