Subject: Re: New value for "X11_TYPE"
To: None <tech-pkg@NetBSD.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-pkg
Date: 11/27/2007 19:27:14
On Tue, Nov 27, 2007 at 06:21:56PM +0000, Matthias Scheler wrote:
> If I understood correctly we have three cases:
> 1.) "X11_TYPE" is set to "modular" => use "x11/libXcursor".

Yes.

> 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".

No.

2) X11_TYPE=native and system has xcursor included ->
x11/xcursor/builtin.mk skips the dependency.

3) X11_TYPE=native and system has no xcursor -> x11/xcursor is the
dependency.

With the change, libXcursor is used directly iff there's no native
implementation.

Joerg