diff options
Diffstat (limited to 'net-analyzer/zmap/zmap-9999.ebuild')
-rw-r--r-- | net-analyzer/zmap/zmap-9999.ebuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/net-analyzer/zmap/zmap-9999.ebuild b/net-analyzer/zmap/zmap-9999.ebuild index 05f9c807f902..c20be04b9149 100644 --- a/net-analyzer/zmap/zmap-9999.ebuild +++ b/net-analyzer/zmap/zmap-9999.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 inherit cmake-utils fcaps git-r3 @@ -14,12 +14,13 @@ EGIT_REPO_URI="git://github.com/zmap/zmap.git" SLOT="0" LICENSE="Apache-2.0" KEYWORDS="" -IUSE="json redis" +IUSE="mongo redis" RDEPEND=" dev-libs/gmp:0 net-libs/libpcap - json? ( dev-libs/json-c ) + dev-libs/json-c + mongo? ( dev-db/mongo ) redis? ( dev-libs/hiredis )" DEPEND="${RDEPEND} dev-util/gengetopt @@ -32,8 +33,8 @@ src_configure() { -DENABLE_DEVELOPMENT=OFF -DENABLE_HARDENING=OFF -DWITH_WERROR=OFF - $(cmake-utils_use_with json) - $(cmake-utils_use_with redis) + -DWITH_mongo="$(usex mongo)" + -DWITH_redis="$(usex redis)" ) cmake-utils_src_configure } |