portupgrade question

Jonathan Chen jonc at chen.org.nz
Wed May 14 02:28:32 UTC 2008


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 at chen.org.nz>
----------------------------------------------------------------------
                                Don't worry about avoiding temptation,
                            as you grow older, it starts avoiding you.


More information about the freebsd-questions mailing list