commit:     e05cbf97c6f47ed2320818aedc0c23bc1387fbc8
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 15 01:33:10 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jan 15 01:50:40 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e05cbf97

sci-biology/amos: Add missing USE=qt4 build switch

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-biology/amos/amos-3.1.0-r3.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/sci-biology/amos/amos-3.1.0-r3.ebuild 
b/sci-biology/amos/amos-3.1.0-r3.ebuild
index ab383a3b95a..33c30995b11 100644
--- a/sci-biology/amos/amos-3.1.0-r3.ebuild
+++ b/sci-biology/amos/amos-3.1.0-r3.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit autotools flag-o-matic python-single-r1
+inherit autotools flag-o-matic python-single-r1 qmake-utils
 
 DESCRIPTION="A Modular, Open-Source whole genome assembler"
 HOMEPAGE="http://amos.sourceforge.net/";
@@ -42,6 +42,11 @@ src_prepare() {
        append-cxxflags -Wno-cpp
 }
 
+src_configure() {
+       econf \
+               --with-qmake-qt4=$(usex qt4 $(qt4_get_bindir)/qmake no)
+}
+
 src_install() {
        default
        python_fix_shebang "${ED%/}"/usr/bin/goBambus2

Reply via email to