Subject: Re: Dependencies on GCC shared libraries for Packages.txt?
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 04/08/2004 17:38:06
On Thu, 8 Apr 2004, Soren Jacobsen wrote:

> Here's a sniplet from mk/compiler.mk:
>
> # XXX Add this gross and completely inaccurate hack.  Packages that
> # XXX set USE_GCC_SHLIB should be adjusted to set USE_LANGUAGES
> # XXX correctly (most likely by saying it needs either "c++" or
> # XXX "c c++").  This is here for now so that ~85 packages won't
> # XXX suddenly break.

I forgot about this.

> .if defined(USE_GCC_SHLIB)
> USE_LANGUAGES?= c c++
> .endif

I'll have to look closer, but how does it know when to have a run-time
DEPENDS because needing some g++ or gcc shared library versus just a
build-time BUILD_DEPENDS?

   Jeremy C. Reed
   http://bsd.reedmedia.net/