diff options
author | hubertf <hubertf> | 2001-04-12 20:38:25 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2001-04-12 20:38:25 +0000 |
commit | 5886f72834b20c89ac0a33fc127d695c041d2f39 (patch) | |
tree | 1277e4e3f20b813f525ebdfbf1464a53173625b8 /graphics/Mesa | |
parent | 1258e920cedab957f3af07d16a1c56c8c72da1aa (diff) | |
download | pkgsrc-5886f72834b20c89ac0a33fc127d695c041d2f39.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/Makefile | 12 | ||||
-rw-r--r-- | graphics/Mesa/Makefile.common | 1 |
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 |