diff options
author | skrll <skrll@pkgsrc.org> | 2001-05-04 11:26:06 +0000 |
---|---|---|
committer | skrll <skrll@pkgsrc.org> | 2001-05-04 11:26:06 +0000 |
commit | 78febcf4d1924826e3f770bb4016e4f982166c2c (patch) | |
tree | 9709f83d987fde4b5433fdc75a498a49e6c3696e /x11/kdebase2 | |
parent | c1e18e2a056d449818b35d6e71fe762489477289 (diff) | |
download | pkgsrc-78febcf4d1924826e3f770bb4016e4f982166c2c.tar.gz |
Add explicit dependency on MESA with USE_MESA.
Make sure the configure script gets the right location for the Mesa
includes.
Includes fix from Rex McMaster <rex@mcmaster.wattle.id.au> for his PR
(pkg/12556).
Diffstat (limited to 'x11/kdebase2')
-rw-r--r-- | x11/kdebase2/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/kdebase2/Makefile b/x11/kdebase2/Makefile index ded9bf6cf92..460dc5d6181 100644 --- a/x11/kdebase2/Makefile +++ b/x11/kdebase2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2001/05/01 09:46:36 skrll Exp $ +# $NetBSD: Makefile,v 1.13 2001/05/04 11:26:06 skrll Exp $ DISTNAME= kdebase-2.1 CATEGORIES= x11 kde @@ -13,6 +13,7 @@ DEPENDS+= kdelibs-2.1nb1:../../x11/kdelibs2 USE_XPM= yes USE_MOTIF= yes +USE_MESA= yes .include "../../x11/kde2/Makefile.part2" CONFIGURE_ARGS+= --disable-greet-lib @@ -23,6 +24,13 @@ IMAKEDIR= ${WRKDIR}/imake .include "../../mk/bsd.prefs.mk" +.if ${HAVE_BUILTIN_MESA} == "NO" +EVAL_PREFIX+= MESABASE=Mesa +.else +MESABASE= ${X11BASE} +.endif +CONFIGURE_ENV+= GL_INCLUDE="${MESABASE}/include" + .if ${OBJECT_FMT} == "a.out" BROKEN= "This package doesn't build on a.out. This is being worked on." .endif |