[dev-db/lmdb] sync with tree

This commit is contained in:
Robert Förster 2017-01-25 15:11:23 +01:00
parent eaa7d93172
commit 44192ba881
1 changed files with 10 additions and 6 deletions

View File

@ -1,9 +1,9 @@
# Copyright 1999-2016 Gentoo Foundation # Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Id$ # $Id$
EAPI=5 EAPI=6
inherit toolchain-funcs inherit toolchain-funcs flag-o-matic
if [[ ${PV} = "9999" ]] ; then if [[ ${PV} = "9999" ]] ; then
EGIT_REPO_URI="https://github.com/LMDB/lmdb.git" EGIT_REPO_URI="https://github.com/LMDB/lmdb.git"
@ -11,14 +11,14 @@ if [[ ${PV} = "9999" ]] ; then
KEYWORDS="" KEYWORDS=""
else else
SRC_URI="https://github.com/LMDB/lmdb/archive/LMDB_${PV}.tar.gz" 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 ~x86-solaris" 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 ~x64-solaris ~x86-solaris"
fi fi
DESCRIPTION="An ultra-fast, ultra-compact key-value embedded data store" DESCRIPTION="An ultra-fast, ultra-compact key-value embedded data store"
HOMEPAGE="http://symas.com/mdb/" HOMEPAGE="http://symas.com/mdb/"
LICENSE="OPENLDAP" LICENSE="OPENLDAP"
SLOT="0/0.9.18" SLOT="0/0.9.19"
IUSE="static-libs" IUSE="static-libs"
DEPEND="" DEPEND=""
@ -35,10 +35,14 @@ src_prepare() {
-e "/^libdir/s!lib\$!$(get_libdir)!" \ -e "/^libdir/s!lib\$!$(get_libdir)!" \
-e "s!shared!shared -Wl,-soname,liblmdb.so.0!" \ -e "s!shared!shared -Wl,-soname,liblmdb.so.0!" \
"${S}/Makefile" || die "${S}/Makefile" || die
eapply_user
} }
src_configure() { src_configure() {
: if [[ ${CHOST} == *-solaris* ]] ; then
# ensure sigwait has a second sig argument
append-cppflags -D_POSIX_PTHREAD_SEMANTICS
fi
} }
src_compile() { src_compile() {