Subject: Re: Unneeded dependencies on MesaLib
To: None <>
From: Jonathan Schleifer <>
List: tech-pkg
Date: 07/25/2005 02:45:38
Adam <> wrote:

> The important thing is, X11 and Mesa are not the only one OpenGL
> implementations around.  I would like to see pkgsrc using OpenGL
> framework on Mac OS X (where I manually disable MesaLib dependencies,
> like in SDL), and I believe IRIX has it's own set of libraries as
> well.

Hm, I don't know MacOS X nor IRIX, but if they have as well it
should be easy:
Just check if exists somewhere in the library path and use
that one if so, otherwise build MesaLib.

> Any suggestions here? Would mk/ be better than an
> opengl meta-package?

Hm, an OpenGL meta pkg would be also an idea. You could select which
framework to use with the PKG_OPTIONS. Then simply a dependency on the
real framework is made, and on X11 it's just another empty pkg. I guess
that would be even better than having :)