summaryrefslogtreecommitdiff
path: root/x11/kdebase/Makefile
diff options
context:
space:
mode:
authorskrll <skrll@pkgsrc.org>2001-08-26 11:36:02 +0000
committerskrll <skrll@pkgsrc.org>2001-08-26 11:36:02 +0000
commit523ab9e821b2c97afbcdde252d76a33a887f8908 (patch)
tree9e84c73e67213805949be70983ee2865284011fa /x11/kdebase/Makefile
parentec3aee670c1cf560cceb843f28236eb94684cf6a (diff)
downloadpkgsrc-523ab9e821b2c97afbcdde252d76a33a887f8908.tar.gz
Pull across Mesa detetecion fixes from KDE 2.1.
This should hopefully fix the build problems with XF4. Build tested with XF3.
Diffstat (limited to 'x11/kdebase/Makefile')
-rw-r--r--x11/kdebase/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/x11/kdebase/Makefile b/x11/kdebase/Makefile
index 5bd5bb83f7e..45d57cbbb0e 100644
--- a/x11/kdebase/Makefile
+++ b/x11/kdebase/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.80 2001/04/02 20:06:15 wiz Exp $
+# $NetBSD: Makefile,v 1.81 2001/08/26 11:36:02 skrll Exp $
# FreeBSD Id: Makefile,v 1.6 1997/11/27 00:35:27 se Exp
DISTNAME= kdebase-1.1.2
@@ -52,6 +52,14 @@ KDE_DIRS= share/doc/kde/HTML/cs share/doc/kde/HTML/da \
.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 ${OPSYS} == "SunOS"
PLIST_INIT= ${PKGDIR}/PLIST-${OPSYS}
.else