A question about dependencies
Joe Marcus Clarke
marcus at marcuscom.com
Tue Jun 29 09:45:32 PDT 2004
On Tue, 2004-06-29 at 12:41, Hye-Shik Chang wrote:
> On Tue, Jun 29, 2004 at 06:17:09PM +0200, Michael Nottebrock wrote:
> > On Tuesday 29 June 2004 10:14, Matthew Seaman wrote:
> > > On Mon, Jun 28, 2004 at 10:43:02PM -0600, Bob Melson wrote:
> > > > Briefly, I discovered on my system some 124 ports of 600+ that show
> > > > python as a requirement. Granted that many are probably cascading
> > > > requirements: A requires B which requires C which requires python, so A
> > > > and B are shown to depend on it; this still seems to me to be a problem.
> > >
> > > Actually, there are just two ports that directly depend on python, and
> > > through which the majority of those other ports you mention inherit
> > > their python dependence. Those ports are:
> > >
> > > textproc/libxml2
> > > textproc/libxslt
> > >
> > > both of which are important parts of the Gnome environment.
> > >
> > > If you don't want python installed on your system, then there's a
> > > simple solution. Set 'WITHOUT_PYTHON=yes' in /etc/make.conf and
> > > reinstall all of the ports that depend from those two.
> > In the special case of python, I would agree that there are unnecessary
> > dependencies recorded - it seems libxml and libxslt do not have a runtime
> > dependency on python, just a buildtime dependency to build python bindings.
> > However, USE_PYTHON can either record both run & buildtime dependencies none
> > - perhaps another knob is needed here. Comments?
> Without runtime depencency, they will need some treatments to remove
> python site packages directory ($PREFIX/lib/python2.3/site-packages).
> I see that splitting python ports out from libxml2 and libxslt port
> would be better than that.
Speak for yourself. That would mean maintaining two new ports, and
doing a big shuffle with ports that already assume the default packages
for libxml2 and libxslt with have Python support.
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20040629/0d9f3b75/attachment.bin
More information about the freebsd-gnome