libselinux & friends were masked a while ago in base/package.mask to be proactive in defending against broken automagic in packages (seeing libselinux is available and linking against it instead of respecting USE=selinux). i think we've outgrown this and we should clean it up. data: i've been running a system w/libselinux & libsepol installed for over a year now w/~2200 packages installed. none of them autolink against selinux anymore. i've only seen one or two and fixed both already.
I'm definitely okay with that. Didn't know that (autodetecting libselinux) was the main reason. I assume with "friends" you also refer to the policy packages? None of these should be installed on non-SELinux systems anyway (as they are usually triggered as package dependencies with USE=selinux, and USE=selinux is use-masked)
(In reply to Sven Vermeulen from comment #1) yes, i mean every package listed in base/package.mask that is related to selinux. i don't see the harm in unmasking them. they work as well on an selinux profile as non-selinux profile -- that is, they aren't supposed to be pulled in directly.
Great, removed the masks from base/package.mask and features/selinux/package.mask.