portmaster -a on a live server

Mel Flynn mel.flynn+fbsd.questions at mailing.thruhere.net
Thu Apr 23 04:54:28 UTC 2009


On Wednesday 22 April 2009 17:37:06 Tom Worster wrote:

> by the by, on my test machine i ended up with python installed. seems to be
> because i needed php5-gd which now depends on python. all for some simple
> freetype2 calls.

Wrong assumption. php-gd doesn't depend on python at all. devel/apr does, so 
you've built php with apache module and that pulls in python OR you didn't set 
WITHOUT_X11=yes when building, so libxcb is pulled in which uses python:

% sudo /stable/root/bin/finddep.php graphics/php5-gd lang/python26
/usr/ports/x11/xcb-proto: /usr/local/bin/python2.6 => /usr/ports/lang/python26
/usr/ports/x11/xcb-proto: /usr/local/bin/python2.6 => /usr/ports/lang/python26
/usr/ports/x11/libxcb: /usr/local/bin/python2.6 => /usr/ports/lang/python26
/usr/ports/x11/libxcb: /usr/local/bin/python2.6 => /usr/ports/lang/python26
/usr/ports/devel/apr: /usr/local/bin/python2.6 => /usr/ports/lang/python26

% sudo env WITHOUT_X11=yes /stable/root/bin/finddep.php graphics/php5-gd 
lang/python26
/usr/ports/devel/apr: /usr/local/bin/python2.6 => /usr/ports/lang/python26

-- 
Mel


More information about the freebsd-questions mailing list