Subject: building mesa-apps w/ XFree 4
To: None <tech-pkg@netbsd.org>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-pkg
Date: 07/05/2001 01:34:06
I'm looking at bsd.pkg.mk after a XFree 4 user (Hi Perry! :-) complained
that the Mesa build bombed out:
.if defined(USE_MESA)
.if (defined(USE_GLX) && ${HAVE_BUILTIN_MESA} == "NO")
DEPENDS+= Mesa-glx>=20000813:../../graphics/Mesa-glx
.else
DEPENDS+= Mesa>=3.2.1:../../graphics/Mesa
.endif
Is this code really correct? In our case, USE_GLX is empty (undefined),
and HAVE_BUILTIN_MESA is "YES" (Thanks to XFree 4). Shouldn't we
just not pull in (any) Mesa at all in that case, and rely on what XFree 4
has?
Something like:
.if (${HAVE_BUILTIN_MESA} == "NO")
. if (defined(USE_GLX))
DEPENDS+= Mesa-glx>=20000813:../../graphics/Mesa-glx
. else # no GLX
DEPENDS+= Mesa>=3.2.1:../../graphics/Mesa
. endif
.else # ${HAVE_BUILTIN_MESA} == "YES"
# XFree 4: Don't need no Mesa at all
.endif
Maybe someone with a better understanding of our Mesa/glx/XFree4
interaction please have a look at this!
- Hubert
--
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
Of course with your #1 IPv6 ready operating system -> www.NetBSD.org