From b4ace3942cb65026d0c8064b8de95e9df9dfc5c9 Mon Sep 17 00:00:00 2001 From: skrll Date: Fri, 4 May 2001 11:26:06 +0000 Subject: 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 for his PR (pkg/12556). --- x11/kdebase2/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'x11/kdebase2') 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 -- cgit v1.2.3