Subject: Re: Forcing unavailability of unrequested LANGUAGES
To: Todd Vierling <>
From: Thomas Klausner <>
List: tech-pkg
Date: 04/21/2006 00:57:29
On Tue, Apr 18, 2006 at 10:44:23AM -0400, Todd Vierling wrote:
> Georg Schwarz gave me an idea this morning while we were discussing some
> things regarding USE_LANGUAGES -- he has a local mk.conf blurb to catch when
> USE_LANGUAGES is missing "c++" where it is needed.
> I thought it would be a good idea to generalize this, and forcibly break
> packages that don't specify languages they need.  Happily, I found that this
> was trivial to implement.  Unless there are reasonable objections, I'd like
> to commit the following diff on Friday Apr 21.
> This is very likely to break packages in the bulk build -- and rightly so.
> I would recommend that any package fixed by modifying USE_LANGUAGES to obey
> this constraint should bump its PKGREVISION (because the package may now
> depend on a C++ or Fortran runtime library from pkgsrc by default, in some
> environments).

Please check with a bulk build of a few hundred packages that it
only breaks packages that do not set USE_LANGUAGES as appropriate.
Also, if you commit this, please schedule some time to fix the fallout :)