Installing port - skip required port
Daniel Bye
Daniel.Bye at psineteurope.com
Tue May 4 02:17:14 PDT 2004
On Mon, May 03, 2004 at 04:42:07PM -0600, Brent Macnaughton wrote:
> Is there any way to install a port and tell it NOT to install one or more of
> it's required ports? For example: I installed the mysqlcc port, and it
> wanted to install mysql-client. I already have mysql-client installed, but I
> did not do it from the ports tree. Another port wanted to install Apache as
> a requirement. I already have Apache installed, but I did so from source. Is
> there some command line option to tell the system not to install certain
> ports? Or better yet, a config file I where can list ports not to install.
>
> Is there also a way to tell portupgrade to skip certain ports? Next time I
> do a portupgrade -aRr i do not want it to install mysql-client or Apache.
Look at the file /usr/local/etc/pkgtools.conf. Of particular interest
to you will be the HOLD_PKGS (to tell portupgrade et al. not to do
anything with ports/packages mentioned), and ALT_PKGDEP - there is an
example in the extensive inline comments that should cover your
situation.
HTH
Dan
--
Daniel Bye
SA-DEV
PSINet Europe
Brookmount Court
Kirkwood Road
Cambridge CB4 2QH
UK
More information about the freebsd-questions
mailing list