summaryrefslogtreecommitdiff
path: root/graphics/Mesa-glx
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2000-10-15 11:35:53 +0000
committerrh <rh@pkgsrc.org>2000-10-15 11:35:53 +0000
commitb644b1fa14526502c6a1e7e15dcce7d8665318ff (patch)
tree57d1aeaf276d4f6eb840f68168e39a494bbd6691 /graphics/Mesa-glx
parentbdd5ffc77d811fa18d8c59f01b61b2069f1125ec (diff)
downloadpkgsrc-b644b1fa14526502c6a1e7e15dcce7d8665318ff.tar.gz
Conflict with XFree86-4.0 builtin Mesa.
Diffstat (limited to 'graphics/Mesa-glx')
-rw-r--r--graphics/Mesa-glx/Makefile20
1 files changed, 15 insertions, 5 deletions
diff --git a/graphics/Mesa-glx/Makefile b/graphics/Mesa-glx/Makefile
index 54b5e6b08ff..f8e24b358a1 100644
--- a/graphics/Mesa-glx/Makefile
+++ b/graphics/Mesa-glx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2000/09/05 09:33:15 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2000/10/15 11:35:53 rh Exp $
DISTNAME= glx-20000813
PKGNAME= Mesa-${DISTNAME}
@@ -17,16 +17,26 @@ BUILD_DEPENDS+= ${AUTOCONF}:../../devel/autoconf
BUILD_DEPENDS+= ${TCLSH}:../../lang/tcl
CONFLICTS+= Mesa-*
+CONFLICTS+= MesaLib-*
+CONFLICTS+= glu-*
+CONFLICTS+= glut-*
ONLY_FOR_PLATFORM= NetBSD-*-i386
-GNU_CONFIGURE= # defined
-USE_GMAKE= # defined
-USE_LIBTOOL= # defined
-USE_X11BASE= # defined
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+USE_X11BASE= yes
+CHECK_MESA= yes
CONFIGURE_ARGS+= --enable-static --with-mesa=${MESA_WRKSRC}
CONFIGURE_ARGS+= --with-moduledir=${PREFIX}/lib/modules
CONFIGURE_ENV+= TCLSH=${TCLSH}
+.include "../../mk/bsd.prefs.mk"
+
+.if ${HAVE_BUILTIN_MESA} != "NO"
+IGNORE= "Mesa-glx has already been installed as part of XFree86-4.x"
+.endif
+
AUTOCONF= ${LOCALBASE}/bin/autoconf
WRKSRCDIRS= ${MESA_WRKSRC} ${WRKSRC} ${WRKSRC}/docs
MAKE_ENV+= PERL=${PERL5}