commit:     ec7b713cd12835cce7a72284772180d106e56c41
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 27 20:02:19 2016 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Sun Nov 27 20:02:42 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec7b713c

net-analyzer/icinga2: fixing build issue with wxwidgets bug 600644

Package-Manager: portage-2.3.0

 net-analyzer/icinga2/icinga2-2.5.4-r1.ebuild | 4 +++-
 net-analyzer/icinga2/icinga2-9999.ebuild     | 4 +++-
 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 f91b4c1..76f6f9a 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 e5ea649..0ff7130 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

Reply via email to