summaryrefslogtreecommitdiff
path: root/graphics/Mesa
diff options
context:
space:
mode:
authorhubertf <hubertf>2001-04-12 20:38:25 +0000
committerhubertf <hubertf>2001-04-12 20:38:25 +0000
commit8c3d98a309bdb3c0f106d81769e13e10a85990a6 (patch)
tree1277e4e3f20b813f525ebdfbf1464a53173625b8 /graphics/Mesa
parentc53b24b0396d5dae542764324403ab4a991f0cdc (diff)
downloadpkgsrc-8c3d98a309bdb3c0f106d81769e13e10a85990a6.tar.gz
Trivia - What's wrong in this picture:
smaug% grep 'MesaLib.*3.4' */*/Makefile* graphics/Mesa/Makefile:DEPENDS+= MesaLib-3.4:../../graphics/MesaLib graphics/MesaLib/Makefile:DISTNAME= MesaLib-3.4.1 Invent a variable MESA_VERSION in Mesa/Makefile.common and use it.
Diffstat (limited to 'graphics/Mesa')
-rw-r--r--graphics/Mesa/Makefile12
-rw-r--r--graphics/Mesa/Makefile.common1
2 files changed, 8 insertions, 5 deletions
diff --git a/graphics/Mesa/Makefile b/graphics/Mesa/Makefile
index 083954c614e..7989d2a7f56 100644
--- a/graphics/Mesa/Makefile
+++ b/graphics/Mesa/Makefile
@@ -1,7 +1,9 @@
-# $NetBSD: Makefile,v 1.38 2001/03/23 12:36:53 drochner Exp $
+# $NetBSD: Makefile,v 1.39 2001/04/12 20:38:25 hubertf Exp $
#
-DISTNAME= Mesa-3.4.1
+.include "Makefile.common"
+
+DISTNAME= Mesa-${MESA_VERSION}
CATEGORIES= graphics
MASTER_SITES= # empty
DISTFILES= # empty
@@ -10,8 +12,8 @@ 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-3.4.1:../../graphics/glu
-DEPENDS+= glut-3.4.1:../../graphics/glut
+DEPENDS+= glu-${MESA_VERSION}:../../graphics/glu
+DEPENDS+= glut-${MESA_VERSION}:../../graphics/glut
CONFLICTS= Mesa-glx-*
@@ -19,7 +21,7 @@ CHECK_MESA= yes
.include "../../mk/bsd.prefs.mk"
.if ${HAVE_BUILTIN_MESA} == "NO"
-DEPENDS+= MesaLib-3.4.1:../../graphics/MesaLib
+DEPENDS+= MesaLib-${MESA_VERSION}:../../graphics/MesaLib
.endif
USE_X11BASE= yes
diff --git a/graphics/Mesa/Makefile.common b/graphics/Mesa/Makefile.common
new file mode 100644
index 00000000000..ca63800941d
--- /dev/null
+++ b/graphics/Mesa/Makefile.common
@@ -0,0 +1 @@
+MESA_VERSION= 3.4.1