On 2006-03-04 20:47, Ferris McCormick uttered these thoughts:
> On Sat, 4 Mar 2006, MIkey wrote:
> 
> > Ferris McCormick wrote:
> >
> >> I misinterpreted what you wrote.  I thought you meant "physically included
> >> in the package," not "installed from a binary package."  I just completely
> >> read what looks like a reasonable request and turned it into nonsense
> >> without thinking about it, I guess.
> >
> > I am not so sure you misinterpreted me, because when I specify -doc and
> > emerge -B a package, I don't want docs installed OR in the binary package
> > that is generated.  I want the behavior of USE flags to be consistent.  If
> > I set -ssl and generate a binary package for apache2, the packaged up
> > libraries should not link with ssl libraries.  The same should apply with
> > -doc.
> >
> 
> That happens now, I believe.  The following should all install the same 
> thing:
>       USE='-doc' emerge    blah
>       USE='-doc' emerge -b blah
>       USE='-doc' emerge -B blah ; emerge -k blah
>     USE='-doc' emerge blah; quickpkg blah; emerge -C blah; emerge -k blah 
> Assuming all dependencies are satisfied.
> (The binary package is built from the image which is going to be 
> installed and carries the USE flags with it. If the docs aren't there, 
> they're not there.  Or at least, the binary package carries the '-doc' 
> use flag along with it so the docs won't be installed.)

It seems that INSTALL_MASK works only at merge time, so that if you
build a package at one machine (with INSTALL_MASK set to f.ex.
/usr/share/doc) and install it on the same machine, you get the expected
behaviour. But the INSTALL_MASK:ed directories and their contents are
still present in the binary package since they're not filtered out until
the merge-step. So if you then want to merge this package on a different
machine, and forget to set INSTALL_MASK you still get everything
originally present under /usr/share/doc installed. 

One might argue that INSTALL_MASK should apply for
binary-package-building also, but so is not the case at the moment. 


Regards,
Patrick Börjesson

-- 
/  ()  The ASCII Ribbon Campaign - against HTML Email
\  /\   and proprietary formats.

Attachment: pgpzfuJqAI1ms.pgp
Description: PGP signature

Reply via email to