portupgrade question

Kevin Oberman oberman at es.net
Wed May 14 16:52:52 UTC 2008


> Date: Wed, 14 May 2008 12:35:03 +1000
> From: Fraser Tweedale <frase at frase.id.au>
> Sender: owner-freebsd-gnome at freebsd.org
> 
> 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?
> > 
> > TIA
> > _______________________________________________
> > freebsd-gnome at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
> 
> Set the following in /usr/local/etc/pkgtools.conf:
> 
> MAKE_ARGS = {
> 	'editors/openoffice.org-2' => 'WITHOUT_MOZILLA=1',
> }
> 
> frase
> 

When I did this, I had to put in:
     'editors/openoffice.org*' => '-DWITH_SYSTEM_FREETYPE -DWITHOUT_MOZILLA',
  to get it to build the way I wanted it to. Without the '-D', it
simply didn't do anything.

It's easy to tell if it is working because the 'make config' will not
list the options that are defined. (This may be openoffice.org
specific.) If you see it list WITHOUT_MOZILLA in the options, it means
it will build with mozilla.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080514/4229fab7/attachment.pgp


More information about the freebsd-questions mailing list