summaryrefslogtreecommitdiff
path: root/x11/kdebase2
diff options
context:
space:
mode:
authorskrll <skrll>2001-05-04 11:26:06 +0000
committerskrll <skrll>2001-05-04 11:26:06 +0000
commitb4ace3942cb65026d0c8064b8de95e9df9dfc5c9 (patch)
tree9709f83d987fde4b5433fdc75a498a49e6c3696e /x11/kdebase2
parent267b805a799c53d118bbd8c93a116d73856e44d6 (diff)
downloadpkgsrc-b4ace3942cb65026d0c8064b8de95e9df9dfc5c9.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/Makefile10
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