[gentoo-user] Re: avoiding java

2007-01-07 Thread Sven Köhler
»Q« schrieb:
> Is there a simple way to make sure java never gets installed on a
> gentoo machine?  The only thing I've thought of is
> using /etc/portage/package.mask to mask everything in the dev-java
> category, but I'm hoping for something simpler.
> 

disable java use-flag.
mask virtual/jdk, virtual/jre and maybe also dev-java/sun-jdk, etc.

BTW: what's so frightening about java?



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: avoiding java

2007-01-07 Thread »Q«
Sven Köhler <[EMAIL PROTECTED]> wrote:

> »Q« schrieb:
> > Is there a simple way to make sure java never gets installed on a
> > gentoo machine?  
> 
> disable java use-flag.
> mask virtual/jdk, virtual/jre and maybe also dev-java/sun-jdk, etc.

Thanks -- that masking seems to do it.  I hadn't read about the switch
to virtuals for java until now.  I have a lot of catching up to do.

> BTW: what's so frightening about java?

Nothing scary, just don't want it.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: avoiding java

2007-01-07 Thread »Q«
In ,
Norberto Bensa <[EMAIL PROTECTED]> wrote:

> »Q« wrote:
> > Is there a simple way to make sure java never gets installed on a
> > gentoo machine?
> 
> USE=-java in your /etc/make.conf

I had done that already, but -java only prevents java from being
installed as an optional dependency.  If a package requires java, it
will pull it in despite that flag.  See Sven's answer about how to mask
java.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: avoiding java

2007-01-08 Thread Sven Köhler
> If it is a hard-requirement, you'll get "blah depends on java which is 
> hardmasked" and your emerge will die.


I think, that what's Q wants.



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: avoiding java

2007-01-08 Thread »Q«
Sven Köhler <[EMAIL PROTECTED]> wrote:

> > If it is a hard-requirement, you'll get "blah depends on java which
> > is hardmasked" and your emerge will die.  
> 
> I think, that what's Q wants.

Yes, that's what I wanted.  Thanks again.  :)

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: avoiding java

2007-01-08 Thread Norberto Bensa
»Q« wrote:
> > USE=-java in your /etc/make.conf
>
> I had done that already, but -java only prevents java from being
> installed as an optional dependency.  If a package requires java, it
> will pull it in despite that flag.  See Sven's answer about how to mask
> java.

If it is a hard-requirement, you'll get "blah depends on java which is 
hardmasked" and your emerge will die.


pgpj70S5x68o5.pgp
Description: PGP signature