Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2009 20:01:33 +0200
From:      Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de>
To:        Scott Bennett <bennett@cs.niu.edu>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: needing install OpenOffice.org without messing up perl
Message-ID:  <20090722180133.GB57243@wep4035.physik.uni-wuerzburg.de>
In-Reply-To: <200907221252.n6MCqBPw029638@mp.cs.niu.edu>
References:  <200907221252.n6MCqBPw029638@mp.cs.niu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 22, 2009 at 07:52:11AM -0500, Scott Bennett wrote:
>      I wrote:
> >     Sure, but OOo is so huge and requires so much other stuff
> >that there is almost certainly something it wants installed that
> >I do not already have installed.
> >
> >     Why wouldn't OOo, once installed, simply use whatever were
> >installed as /usr/local/bin/perl?
> >     It seems to me that the bigger worry it that portmaster may
> >try to rebuild it whenever a -a option is used.  portmanager, OTOH,
> >has a -u option that might do the job.  portupgrade, of course,
> 
>      My mistake.  portmanager -u is supposed to accomplish roughly
> what portmaster -a or portupgrade -a accomplishes.  I meant to write
> portmanager -u -ip packagename rather than what I wrote before.
> 
> >can have all sorts of things blocked from upgrading by putting the
> >proper magic into /etc/portupgrade.conf.  If only portmaster had
> >a similar way of doing things.  Since so many people now advocate
> >using either portmanager or portmaster to do general upgrades (-a),
> >rather than portupgrade -a, I guess portmanager is the only method
> >available to keep OOo from being rebuilt whenever one of its
> >dependencies gets upgraded.
> >
If only you have RTFM %)
>From man portmaster:

     /var/db/pkg/*/+IGNOREME
           If this file exists, several things will happen:

           1. The port will be ignored for all purposes, including
               dependency updates, if there is no directory for it in
               /usr/ports, and there is no entry for it in /usr/ports/MOVED.
               If the -v option is used, the fact that the port is being
               ignored will be mentioned.

           2. If using the
               -L option, and a new version exists, the existence of the
               +IGNOREME file will be mentioned.

           3. If you do a regular update of the port, or if the
               -a option is being used, you will be asked if you want to
               update the port anyway; unless the -u option is being used, in
               which case the port will be ignored.

So,
touch /var/db/pkg/openoffice.org-XXXX/+IGNOREME
would do the trick.



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