Subject: Re: building mesa-apps w/ XFree 4
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 07/04/2001 18:48:03
On Thu, 5 Jul 2001, Hubert Feyrer wrote:

> 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?

There are things missing from XFree 4, like it has libGL but not
libglut, or something like that. The Mesa meta-package is supposed to
take care of the differences. You have to delete and re-install Mesa
after upgrading to XFree 4, of course, in order for that to work. If
that's not it, then something's broken recently.


Frederick