Skip to content

Commit

Permalink
sys-libs/ldb: resolve automagic header usage on libbsd by RDEPENDing …
Browse files Browse the repository at this point in the history
…on it

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
  • Loading branch information
axs-gentoo committed Jan 12, 2016
1 parent b54060a commit e74ffc2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ SLOT="0/${PV}"
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}]
Expand Down

0 comments on commit e74ffc2

Please sign in to comment.