Currently I always get this messages logged because of: if use djvu; then ewarn "With USE=\"djvu\", distribution of binaries is restricted!" ewarn "See http://djvu.sourceforge.net/gsdjvu/COPYING for details on licensing issues." fi It doesn't make much sense as I have bindist globally disabled, then, it is not a problem for me. Well, the only problem is that I don't know how to test for "bindist" now that it is no a USE flag anymore :/, before that it would be as simple as "use bindist && use djvu && ewarn "..."
The purpose of the change done in bug 541412 (and previously discussed in http://thread.gmane.org/gmane.linux.gentoo.devel/95123) was to get rid of the bindist flag in ebuilds where it was redundant, and to replace it with RESTRICT="foo? ( bindist )" in these cases (i.e. "djvu? ( bindist )" here). I don't have a strong opinion about the message in pkg_setup(). On the one hand, nothing prevents users (technically) from distributing binpkgs built with any combination of USE flags, so the warning still serves a purpose. On the other hand, it is somewhat redundant with RESTRICT="bindist", and we have many packages that have a restriction only but don't output any warning in addition. In any case, Portage users can set ACCEPT_RESTRICT="* -bindist" in their make.conf to prevent building of packages that cannot be binary redistributed.
(In reply to Ulrich Müller from comment #1) > On > the other hand, it is somewhat redundant with RESTRICT="bindist", and we > have many packages that have a restriction only but don't output any warning > in addition. > Removed in 9.20