When building samba with USE=ads there is a dependency on sys-fs/e2fsprogs causes it to pull in all sorts of things: [ebuild N *] sys-libs/cracklib-2.9.2 USE="nls zlib -python -static-libs {-test}" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7" [ebuild N #] sys-libs/pam-1.1.8-r2 USE="berkdb cracklib nls -audit -debug -nis (-selinux) {-test} -vim-syntax" ABI_X86="(64) -32 (-x32)" [ebuild N #] sys-apps/util-linux-9999 USE="cramfs ncurses nls pam suid unicode (-caps) -fdformat -python (-selinux) -slang -static-libs (-systemd) {-test} -tty-helpers (-udev)" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" PYTHON_TARGETS="python2_7 python3_3 -python3_4" [ebuild N *] sys-fs/e2fsprogs-1.42.12 USE="nls -static-libs" [ebuild R ] net-fs/samba-3.6.25 [3.6.25] [blocks B ] sys-auth/openpam ("sys-auth/openpam" is blocking sys-libs/pam-1.1.8-r2) [blocks B ] sys-libs/pam ("sys-libs/pam" is blocking sys-auth/openpam-20140912) This dependency is not necessary on freebsd and can be removed. When I changed the ads section in the ebuild to: ads? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] kernel_linux? ( sys-fs/e2fsprogs ) client? ( sys-apps/keyutils ) ) It installs without a hitch. I am sure there are other solutions. Reproducible: Always Steps to Reproduce: 1. USE="ads" emerge samba