commit:     55ed7e0d5f795109e6767b681bc436cbc90a4574
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  2 03:55:19 2015 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Wed Sep  2 03:55:19 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55ed7e0d

net-analyzer/icinga2: cleaner minimal usage

Package-Manager: portage-2.2.20.1

 net-analyzer/icinga2/icinga2-2.3.9.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/net-analyzer/icinga2/icinga2-2.3.9.ebuild 
b/net-analyzer/icinga2/icinga2-2.3.9.ebuild
index c996c27..ac3a260 100644
--- a/net-analyzer/icinga2/icinga2-2.3.9.ebuild
+++ b/net-analyzer/icinga2/icinga2-2.3.9.ebuild
@@ -61,6 +61,12 @@ src_configure() {
                -DICINGA2_COMMAND_GROUP=icingacmd
                -DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=yes
        )
+       if use minimal; then
+               mycmakeargs+=(
+                       -DICINGA2_WITH_MYSQL=OFF
+                       -DICINGA2_WITH_PGSQL=OFF
+               )
+       fi
        if use postgres; then
                mycmakeargs+=(
                        -DICINGA2_WITH_PGSQL=ON

Reply via email to