commit:     e74ffc2a88f02da3ced20db9362a055c4ba6bc92
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 12 17:45:11 2016 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Tue Jan 12 17:45:45 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e74ffc2a

sys-libs/ldb: resolve automagic header usage on libbsd by RDEPENDing 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

 sys-libs/ldb/{ldb-1.1.24-r1.ebuild => ldb-1.1.24-r2.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-libs/ldb/ldb-1.1.24-r1.ebuild 
b/sys-libs/ldb/ldb-1.1.24-r2.ebuild
similarity index 95%
rename from sys-libs/ldb/ldb-1.1.24-r1.ebuild
rename to sys-libs/ldb/ldb-1.1.24-r2.ebuild
index 92aba67..d3323d3 100644
--- a/sys-libs/ldb/ldb-1.1.24-r1.ebuild
+++ b/sys-libs/ldb/ldb-1.1.24-r2.ebuild
@@ -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}]

Reply via email to