[dev-db/lmdb] sync with tree, one solaris fix was upstreamed, update slot

This commit is contained in:
Robert Förster 2017-12-21 12:13:40 +01:00
parent 90876340dc
commit 96867169aa

View File

@ -1,6 +1,5 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit toolchain-funcs flag-o-matic multilib
@ -11,14 +10,14 @@ if [[ ${PV} = "9999" ]] ; then
KEYWORDS=""
else
SRC_URI="https://github.com/LMDB/lmdb/archive/LMDB_${PV}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
fi
DESCRIPTION="An ultra-fast, ultra-compact key-value embedded data store"
HOMEPAGE="http://symas.com/mdb/"
LICENSE="OPENLDAP"
SLOT="0/0.9.19"
SLOT="0/0.9.21"
IUSE="static-libs"
DEPEND=""
@ -43,9 +42,8 @@ src_prepare() {
}
src_configure() {
if [[ ${CHOST} == *-solaris* ]] ; then
# ensure sigwait has a second sig argument
append-cppflags -D_POSIX_PTHREAD_SEMANTICS
# fdatasync lives in -lrt on Solaris 10
[[ ${CHOST#*-solaris2.} -le 10 ]] && append-ldflags -lrt
fi
}