commit:     19635979086a95d6217c86024312653b20d503f9
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  7 09:09:46 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Nov  7 09:09:56 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19635979

sci-chemistry/openbabel: Only configure WxGtk with USE=wxwidgets

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=565040

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild 
b/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
index d1c0813..bbb38de 100644
--- a/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
+++ b/sci-chemistry/openbabel/openbabel-2.3.2-r1.ebuild
@@ -49,7 +49,7 @@ src_prepare() {
 }
 
 src_configure() {
-       need-wxwidgets unicode
+       use wxwidgets && need-wxwidgets unicode
        local mycmakeargs=()
        mycmakeargs+=(
                -DOPENBABEL_USE_SYSTEM_INCHI=ON

Reply via email to