portmaster -a on a live server

Tom Worster fsb at thefsb.org
Sat Apr 25 23:12:54 UTC 2009


On 4/23/09 12:54 AM, "Mel Flynn"
<mel.flynn+fbsd.questions at mailing.thruhere.net> wrote:

> 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

thanks for the tip, mel. i got rid of the ports involved and reinstalled
with WITHOUT_X11=yes and the install was faster and things are a lot tidier.

i had no idea that i ought to be configuring port builds with env vars. is
there documentation anywhere so i find out about these options in gneral?





More information about the freebsd-questions mailing list