projects
/
portage-squeep
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dogecoind-1.7.0-r1 manifest updated
[portage-squeep]
/
net-p2p
/
dogecoind
/
dogecoind-1.5.1-r1.ebuild
diff --git
a/net-p2p/dogecoind/dogecoind-1.5.1-r1.ebuild
b/net-p2p/dogecoind/dogecoind-1.5.1-r1.ebuild
index 7cc9c99a4cb47bd4aa214812739c66a4613fd9c8..d74b15891f4be9fa5d0895b83186a3cb7c966a0d 100644
(file)
--- a/
net-p2p/dogecoind/dogecoind-1.5.1-r1.ebuild
+++ b/
net-p2p/dogecoind/dogecoind-1.5.1-r1.ebuild
@@
-17,8
+17,8
@@
SRC_URI="https://github.com/${MyPN}/${MyPN}/archive/${MyPV}.tar.gz -> ${MyP}.tar
LICENSE="MIT ISC GPL-2"
SLOT="0"
LICENSE="MIT ISC GPL-2"
SLOT="0"
-KEYWORDS="
amd64
x86"
-IUSE="bash-completion examples ipv6 logrotate upnp"
+KEYWORDS="
~amd64 ~
x86"
+IUSE="bash-completion examples ipv6 logrotate upnp
system_leveldb
"
RDEPEND="
dev-libs/boost[threads(+)]
RDEPEND="
dev-libs/boost[threads(+)]
@@
-30,7
+30,9
@@
RDEPEND="
net-libs/miniupnpc
)
sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
net-libs/miniupnpc
)
sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
- dev-libs/leveldb[-snappy]
+ system_leveldb? (
+ =dev-libs/leveldb-1.15.0[-snappy]
+ )
"
DEPEND="${RDEPEND}
>=app-shells/bash-4.1
"
DEPEND="${RDEPEND}
>=app-shells/bash-4.1
@@
-69,14
+71,11
@@
src_configure() {
use ipv6 || OPTS+=("USE_IPV6=-")
use ipv6 || OPTS+=("USE_IPV6=-")
- OPTS+=("USE_SYSTEM_LEVELDB=1")
+ use system_leveldb && OPTS+=("USE_SYSTEM_LEVELDB=1")
+
OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")")
OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}")
OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")")
OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}")
-# if has_version '>=dev-libs/boost-1.52'; then
-# OPTS+=("LIBS+=-lboost_chrono\$\$BOOST_LIB_SUFFIX")
-# fi
-
cd src || die
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" ${PN}
}
cd src || die
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -f makefile.unix "${OPTS[@]}" ${PN}
}