The lib/replace code configures and depends on bsd/* headers depending solely on its
existence; as libbsd is a non-optional dep for samba-4.2 and newer anyways, ensure
it is installed now with matching MULTILIB_USDEP on non-fbsd to avoid the potential
headers mis-matches between bsd/*.h and other unistd.h or types.h on the system.
This should address bug 571622.
Package-Manager: portage-2.2.26
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="doc"
-RDEPEND="dev-libs/popt[${MULTILIB_USEDEP}]
+RDEPEND="!elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
+ dev-libs/popt[${MULTILIB_USEDEP}]
>=sys-libs/talloc-2.1.5[python,${MULTILIB_USEDEP}]
>=sys-libs/tevent-0.9.26[python(+),${MULTILIB_USEDEP}]
>=sys-libs/tdb-1.3.8[python,${MULTILIB_USEDEP}]