Subject: Re: PREFER_NATIVE useless?
To: Todd Vierling <tv@duh.org>
From: Rui-Xiang Guo <rxg@myrealbox.com>
List: tech-pkg
Date: 11/30/2005 23:25:32
> Some particular packages are considered special by default, such that the
> pkgsrc versions are always preferred.  The list is in
> pkgsrc/mk/defaults/mk.conf:
> 
> PREFER_PKGSRC?=         MesaLib Xft2 Xrandr Xrender expat fontconfig    \
>                         freetype2 glu randrext renderext xcursor
> 
> If you really want these to prefer native usage where available, put:
> 
> PREFER_PKGSRC=
> 
> in your /etc/mk.conf (that sets it to an empty string).  Note that this may
> cause the build of some packages to fail, because the native versions of
> these packages are often too "old" to be useful to newer pkgsrc packages.

I just try it but it only reduce MesaLib then still includes xcursor until
I set USE_BUILTIN.xcursor=yes in /etc/mk.conf.