summaryrefslogtreecommitdiff
path: root/graphics/Mesa-glx
diff options
context:
space:
mode:
authorrh <rh>2000-10-15 11:35:53 +0000
committerrh <rh>2000-10-15 11:35:53 +0000
commite6e9a24fba5669cea6a8b12a8751dfa3cb6f21b3 (patch)
tree57d1aeaf276d4f6eb840f68168e39a494bbd6691 /graphics/Mesa-glx
parent44ed41d6df5d08e1f2b57e6d1a92b9666a4b098e (diff)
downloadpkgsrc-e6e9a24fba5669cea6a8b12a8751dfa3cb6f21b3.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}