Subject: Re: Choosing pkgsrc's version of freetype2 and friends over XFree's
To: Johnny C. Lam <jlam@NetBSD.org>
From: Marc Recht <recht@netbsd.org>
List: tech-pkg
Date: 02/12/2004 20:07:03
--==========B5284EEC38B2C1A3EFC9==========
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

> With a -current pkgsrc, you should be able to accomplish the same thing
> by adding the following to /etc/mk.conf:
>
> 	PREFER_PKGSRC=3D	MesaLib freetype2 glu Xrender

Really nice. IMHO This you be the default for most pkgs. There two (minor)=20
problems/issues with it, though. As I pointed out earlier in this thread=20
the default behaviour is (IMHO) broken (see qt3, gtk2 example). It operates =

on a "per-pkg" basis, but what is desirable (needed?) for thoses=20
xextensions (freetype2,xft2 and friends) is a "set".

Maybe we could just define the "right" set in bsd.pkg.defaults.mk and add=20
some info in Packages.txt?

(I still strongly believe that those "fdo xtension" pkgs should always be=20
used from pkgsrc. No matter what!)

> or if you'd prefer that pkgsrc be completely self-consistent:
>
> 	PREFER_PKGSRC=3D	yes
>
> If you choose the latter option, you can still prefer the native versions
> of specific packages with, e.g.,
>
> 	PREFER_NATIVE=3D	bzip2 openssl zlib

Smooth. I really like this!:)

Cheers,
Marc
--==========B5284EEC38B2C1A3EFC9==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAK87e7YQCetAaG3MRApEoAJ46LoSUVcz4ygfzRvqKlLsuHmMg0wCeKk2M
JxLtBfX3jD3j0asps/ccr8Q=
=EPfX
-----END PGP SIGNATURE-----

--==========B5284EEC38B2C1A3EFC9==========--