dev-cpp/libjson-rpc-cpp: Add USE flags for Redis in -9999

This commit is contained in:
Michał Górny
2017-08-28 20:20:19 +02:00
parent 54f7581e46
commit 95aff96d4a
2 changed files with 7 additions and 1 deletions
@@ -14,12 +14,14 @@ SRC_URI=""
LICENSE="MIT"
SLOT="0/1"
KEYWORDS=""
IUSE="doc +http-client +http-server +stubgen test"
IUSE="doc +http-client +http-server redis-client redis-server +stubgen test"
RDEPEND="
dev-libs/jsoncpp:=
http-client? ( net-misc/curl:= )
http-server? ( net-libs/libmicrohttpd:= )
redis-client? ( dev-libs/hiredis:= )
redis-server? ( dev-libs/hiredis:= )
stubgen? ( dev-libs/argtable:= )"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
@@ -31,6 +33,8 @@ src_configure() {
local mycmakeargs=(
-DHTTP_CLIENT=$(usex http-client)
-DHTTP_SERVER=$(usex http-server)
-DREDIS_CLIENT=$(usex redis-client)
-DREDIS_SERVER=$(usex redis-server)
# they are not installed
-DCOMPILE_EXAMPLES=OFF
-DCOMPILE_STUBGEN=$(usex stubgen)