A question about dependencies
Matthew Seaman
m.seaman at infracaninophile.co.uk
Tue Jun 29 01:14:52 PDT 2004
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.
This will cause both of those ports to compile into packages without
any python dependence:
% pkg_info -I '*nopython*'
libxml2-nopython-2.6.9 Xml parser library for GNOME
libxslt-nopython-1.1.6 The XSLT C library for GNOME
Given that, and not installing any ports with an explicit Python
dependency and it's perfectly possible to trim python out of a system.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040629/ac2f1afc/attachment.bin
More information about the freebsd-ports
mailing list