sci-biology/amos: Add missing USE=qt4 build switch
authorAndreas Sturmlechner <asturm@gentoo.org>
Mon, 15 Jan 2018 01:33:10 +0000 (02:33 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Mon, 15 Jan 2018 01:50:40 +0000 (02:50 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

sci-biology/amos/amos-3.1.0-r3.ebuild

index ab383a3b95a05ade5eff2f092f6f4f20c74cccef..33c30995b11b568099642fa3c59ea32903ffe275 100644 (file)
@@ -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