portupgrade -P and local changes

Donald J. O'Neill donaldj1066 at fastmail.fm
Sun Dec 26 08:29:26 PST 2004


On Sunday 26 December 2004 03:04 am, Harlan Stenn wrote:
> I have a couple of ports where I am using a Makefile.local to
> provide some customizations for the local environment (I think
> they are for postfix+SASL, and apache2+the experimental modules,
> but I could be mistaken) where "stock" prebuilt packages are
> available.
>
> When I update the installed packages on the box, I like to use:
>
>  portupgrade -Ppa
>
> The problem I have is that when these two ports get upgraded,
> portupgrade fetches and installs the prebuilt packages, which
> means I have to remember to then reinstall these two packages
> from the ports tree.
>
> Is there a way to tell portupgrade that it should not *fetch*
> prebuilt ports for these two packages?  If the packages are
> already there I'm fine having them installed (as it means they
> were built using the Makefile.local values and wrapped as a
> package from the -p flag).
>
> H
>
Hi H.

-P is telling portupgrade to check for. download and install a 
pre-built package if one is available. To my mind, stop using -P 
and you won't get pre-built packages installed by portupgrade it 
will use the ports tree to make the upgrade.
-- 
Donald J. O'Neill
donaldj1066 at fastmail.fm

I'm not totally useless,
I can be used as a bad example.


More information about the freebsd-questions mailing list