From owner-freebsd-questions@FreeBSD.ORG Wed May 14 02:28:32 2008 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 9F0941065671 for ; Wed, 14 May 2008 02:28:32 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (chen.org.nz [202.89.146.5]) by mx1.freebsd.org (Postfix) with ESMTP id 468DC8FC0A for ; Wed, 14 May 2008 02:28:32 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 0A622284DC; Wed, 14 May 2008 14:28:31 +1200 (NZST) Date: Wed, 14 May 2008 14:28:31 +1200 From: Jonathan Chen To: AN Message-ID: <20080514022831.GA56540@osiris.chen.org.nz> References: <20080513230238.K92248@neu.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080513230238.K92248@neu.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org, freebsd-gnome@freebsd.org Subject: Re: portupgrade question 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: Wed, 14 May 2008 02:28:32 -0000 On Tue, May 13, 2008 at 11:05:02PM +0000, AN wrote: > I installed openoffice 2.4.0 from ports with: > make -DWITHOUT_MOZILLA install clean > > Now, when I do a portupgrade it tries to install mozilla: > > To build OOo, you should have a lot > of free diskspace (~ 11GB) and memory (~ 2GB). > If you want SDK and/or solver, please type make sdk and/or make solver > => mozilla-source-1.7.5.tar.gz doesn't seem to exist in > /usr/ports/distfiles/openoffice.org2. > => Attempting to fetch from > http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/. > mozilla-source-1.7.5.tar.gz 0% of 36 MB 108 kBps^C > fetch: transfer interrupted > > How do I portupgrade openoffice and get it to use the -DWITHOUT_MOZILLA > option from the command line? What is the correct way to do this? The way I prefer to do it is to install ports-mgmt/portconf, and then have an entry in /usr/local/etc/ports.conf of: editors/openoffice.org-*: WITHOUT_MOZILLA portconf will ensure that the WITHOUT_MOZILLA flag is passed to make(1) when you do a manual port install, or through portupgrade, or through portmaster. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Don't worry about avoiding temptation, as you grow older, it starts avoiding you.