Subject: Re: New value for "X11_TYPE"
To: None <tech-pkg@NetBSD.org>
From: Matthias Scheler <tron@zhadum.org.uk>
List: tech-pkg
Date: 11/27/2007 18:21:56
On Tue, Nov 27, 2007 at 05:54:52PM +0100, Joerg Sonnenberger wrote:
> On Tue, Nov 27, 2007 at 03:20:57PM +0000, Matthias Scheler wrote:
> > But that won't solve the problem because "x11/libXcursor/buildlink3.mk"
> > still branches to "x11/xcursor/buildlink3.mk". Or will the "builtin.mk"
> > file be able to prevent that?
> 
> The builtin.mk support would replace the conditionals.

I still don't understand why that would solve the problem.

If I understood correctly we have three cases:
1.) "X11_TYPE" is set to "modular" => use "x11/libXcursor".
2.) "X11_TYPE" is set to "native" and the system uses XFree86 =>
    use "x11/xcursor".
3.) "X11_TYPE" is set to "native" and the system uses uptodate X.org =>
    use native "libXcursor".

Providing a "builtin.mk" should achieve 3. But we still need code which
prevents 2. in that case.

	Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/