Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Sep 2011 20:47:52 +0200 (CEST)
From:      Gerald Pfeifer <gerald@pfeifer.com>
To:        Lev Serebryakov <lev@FreeBSD.org>
Cc:        ports@FreeBSD.org, Doug Barton <dougb@FreeBSD.org>
Subject:   Re: USE_GCC and unnesessary RUN_DENEDS on gcc port (Was: Print +REQUIRED_BY as tree?)
Message-ID:  <alpine.LNX.2.00.1109272045320.8149@gerinyyl.fvgr>
In-Reply-To: <1859284079.20110913111221@serebryakov.spb.ru>
References:  <503309410.20110912205856@serebryakov.spb.ru> <CA940116.21806%freebsdlists-ports@chillibear.com> <865325899.20110912230621@serebryakov.spb.ru> <4E6E60C7.90304@FreeBSD.org> <181642832.20110912235833@serebryakov.spb.ru> <4E6E6607.2030104@FreeBSD.org> <801150301.20110913110114@serebryakov.spb.ru> <1859284079.20110913111221@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 13 Sep 2011, Lev Serebryakov wrote:
> Or, maybe automate this, as now port system warns user about "possible 
> network servers" -- check all installed binaries and libraries for 
> linkage with non-system-gcc libraries and add "run" dependency. But
> I'm not sure it is easy to do, as it should be done after installation, 
> when, I afraid, adding RUN_DEPEND at this stage doesn't help, so this 
> automatic should make all depends-related work (+REQUIRED_BY / +CONTENT) 
> "by hands".

I think you have a good observation here.  One way of addressing it,
which would be simpler and less effort and risk, is to split the large
lang/gcc ports into smaller bits, including a run-time port, once the
work on this infrastructure (that Linux distributions have been using
for more than ten years) is in place.

In other words, have something like a gcc-runtime package that falls
out of the lang/gcc port and covers all those needs.  (That's not the
minimum, assuming we still have something -- bet it GCC 4.2 or LLVM
based in the base system -- but quite small.)

Gerald



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LNX.2.00.1109272045320.8149>