From 96867169aa659cfe52f4b0d00cffdfde3a819bf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20F=C3=B6rster?= Date: Thu, 21 Dec 2017 12:13:40 +0100 Subject: [PATCH] [dev-db/lmdb] sync with tree, one solaris fix was upstreamed, update slot --- dev-db/lmdb/lmdb-9999.ebuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/dev-db/lmdb/lmdb-9999.ebuild b/dev-db/lmdb/lmdb-9999.ebuild index d2a18b9..bebe471 100644 --- a/dev-db/lmdb/lmdb-9999.ebuild +++ b/dev-db/lmdb/lmdb-9999.ebuild @@ -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 }