Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Apr 2009 19:12:48 -0400
From:      Tom Worster <fsb@thefsb.org>
To:        Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>, <freebsd-questions@freebsd.org>
Subject:   Re: portmaster -a on a live server
Message-ID:  <C6191130.9E90%fsb@thefsb.org>
In-Reply-To: <200904230654.25893.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/23/09 12:54 AM, "Mel Flynn"
<mel.flynn+fbsd.questions@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?






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C6191130.9E90%fsb>