Subject: Re: Choosing pkgsrc's version of freetype2 and friends over XFree's
To: Marc Recht <>
From: Johnny C. Lam <>
List: tech-pkg
Date: 02/12/2004 19:54:11
On Thu, Feb 12, 2004 at 08:07:03PM +0100, Marc Recht wrote:
> >With a -current pkgsrc, you should be able to accomplish the same thing
> >by adding the following to /etc/mk.conf:
> >
> >	PREFER_PKGSRC=	MesaLib freetype2 glu Xrender
> Really nice. IMHO This you be the default for most pkgs. There two (minor) 
> problems/issues with it, though. As I pointed out earlier in this thread 
> the default behaviour is (IMHO) broken (see qt3, gtk2 example). It operates 
> on a "per-pkg" basis, but what is desirable (needed?) for thoses 
> xextensions (freetype2,xft2 and friends) is a "set".
> Maybe we could just define the "right" set in and add 
> some info in Packages.txt?
> (I still strongly believe that those "fdo xtension" pkgs should always be 
> used from pkgsrc. No matter what!)

I tend to agree, given the types of errors that I've seen when building
unintentionally links against multiple versions of a shared library,
mostly when people build the GNOME desktop.  I want to put a good default

> >or if you'd prefer that pkgsrc be completely self-consistent:
> >
> >
> >If you choose the latter option, you can still prefer the native versions
> >of specific packages with, e.g.,
> >
> >	PREFER_NATIVE=	bzip2 openssl zlib
> Smooth. I really like this!:)

Thank you!


	-- Johnny Lam <>