+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+# $Header: $
EAPI="5"
upnp? (
net-libs/miniupnpc
)
- sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
+ wallet? (
+ sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
+ )
"
DEPEND="${RDEPEND}
>=app-shells/bash-4.1
}
src_prepare() {
- # bitcoin for some reason doesn't use embedded leveldb
- # but we will, because version/bug pinning is a good thing
-# rm -r src/leveldb
-# sed -e 's/^\(LIBLEVELDB=\).*$/\1-lleveldb/' \
-# -e 's/^\(LIBMEMENV=\).*$/\1-lmemenv/' \
-# -e 's/^\(AM_CONDITIONAL(\[EMBEDDED_LEVELDB\],\[\).*\(\])\)$/\1false\2/' \
-# -i configure.ac
-
eautoreconf
}
src_configure() {
econf \
- --disable-silent-rules \
$(use_enable wallet) \
$(use_enable test tests) \
--disable-hardening \