net-analyzer/icinga2: fixing build issue with wxwidgets bug 600644
authorMatthew Thode <prometheanfire@gentoo.org>
Sun, 27 Nov 2016 20:02:19 +0000 (14:02 -0600)
committerMatthew Thode <prometheanfire@gentoo.org>
Sun, 27 Nov 2016 20:02:42 +0000 (14:02 -0600)
Package-Manager: portage-2.3.0

net-analyzer/icinga2/icinga2-2.5.4-r1.ebuild
net-analyzer/icinga2/icinga2-9999.ebuild

index f91b4c1842083af16ec06d3ce543e588ee02800d..76f6f9a3c368ed000d3ca197004396efc5ad3534 100644 (file)
@@ -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
index e5ea6490fe15c3a39199fbef069f4c59c6a87678..0ff7130846590d4ef8b7b5479c49968ff4a911c1 100644 (file)
@@ -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