Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2008 14:28:31 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        AN <andy@neu.net>
Cc:        freebsd-questions@freebsd.org, freebsd-gnome@freebsd.org
Subject:   Re: portupgrade question
Message-ID:  <20080514022831.GA56540@osiris.chen.org.nz>
In-Reply-To: <20080513230238.K92248@neu.net>
References:  <20080513230238.K92248@neu.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonc@chen.org.nz>
----------------------------------------------------------------------
                                Don't worry about avoiding temptation,
                            as you grow older, it starts avoiding you.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080514022831.GA56540>