From owner-freebsd-questions@FreeBSD.ORG Sat Apr 25 23:12:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 982AA10656CD for ; Sat, 25 Apr 2009 23:12:53 +0000 (UTC) (envelope-from fsb@thefsb.org) Received: from smtp154.iad.emailsrvr.com (smtp154.iad.emailsrvr.com [207.97.245.154]) by mx1.freebsd.org (Postfix) with ESMTP id 6E3C98FC12 for ; Sat, 25 Apr 2009 23:12:53 +0000 (UTC) (envelope-from fsb@thefsb.org) Received: from relay15.relay.iad.mlsrvr.com (localhost [127.0.0.1]) by relay15.relay.iad.mlsrvr.com (SMTP Server) with ESMTP id EE3CE1B402C; Sat, 25 Apr 2009 19:12:52 -0400 (EDT) Received: by relay15.relay.iad.mlsrvr.com (Authenticated sender: fsb-AT-thefsb.org) with ESMTPSA id 26DFB1B4011; Sat, 25 Apr 2009 19:12:52 -0400 (EDT) User-Agent: Microsoft-Entourage/12.10.0.080409 Date: Sat, 25 Apr 2009 19:12:48 -0400 From: Tom Worster To: Mel Flynn , Message-ID: Thread-Topic: portmaster -a on a live server Thread-Index: AcnF+1knQOaTSr/ldUGXE5Cvn7mX/w== In-Reply-To: <200904230654.25893.mel.flynn+fbsd.questions@mailing.thruhere.net> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Cc: Subject: Re: portmaster -a on a live server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Apr 2009 23:12:54 -0000 On 4/23/09 12:54 AM, "Mel Flynn" 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?