summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-analyzer/icinga2/icinga2-2.5.4-r1.ebuild4
-rw-r--r--net-analyzer/icinga2/icinga2-9999.ebuild4
2 files changed, 6 insertions, 2 deletions
diff --git a/net-analyzer/icinga2/icinga2-2.5.4-r1.ebuild b/net-analyzer/icinga2/icinga2-2.5.4-r1.ebuild
index f91b4c184208..76f6f9a3c368 100644
--- a/net-analyzer/icinga2/icinga2-2.5.4-r1.ebuild
+++ b/net-analyzer/icinga2/icinga2-2.5.4-r1.ebuild
@@ -51,7 +51,9 @@ want_apache2
pkg_setup() {
depend.apache_pkg_setup
- setup-wxwidgets
+ if use studio ; then
+ setup-wxwidgets
+ fi
enewgroup icinga
enewgroup icingacmd
enewgroup nagios # for plugins
diff --git a/net-analyzer/icinga2/icinga2-9999.ebuild b/net-analyzer/icinga2/icinga2-9999.ebuild
index e5ea6490fe15..0ff713084659 100644
--- a/net-analyzer/icinga2/icinga2-9999.ebuild
+++ b/net-analyzer/icinga2/icinga2-9999.ebuild
@@ -51,7 +51,9 @@ want_apache2
pkg_setup() {
depend.apache_pkg_setup
- setup-wxwidgets
+ if use studio ; then
+ setup-wxwidgets
+ fi
enewgroup icinga
enewgroup icingacmd
enewgroup nagios # for plugins