net-p2p/qbittorrent: explicitly use correct version of Qt
authorMichael Palimaka <kensington@gentoo.org>
Wed, 14 Oct 2015 13:36:34 +0000 (00:36 +1100)
committerMichael Palimaka <kensington@gentoo.org>
Wed, 14 Oct 2015 13:37:11 +0000 (00:37 +1100)
Package-Manager: portage-2.2.20.1

net-p2p/qbittorrent/qbittorrent-3.1.12.ebuild

index c45255a08ecf4dfb16045ae06e2c18f32f34aee9..5680097319ef881837cd5f0e922ea3ffe37544fd 100644 (file)
@@ -5,7 +5,7 @@
 EAPI=5
 PYTHON_COMPAT=( python2_7 )
 
-inherit eutils python-r1 qt4-r2
+inherit eutils python-r1 qmake-utils qt4-r2
 
 DESCRIPTION="BitTorrent client in C++ and Qt"
 HOMEPAGE="http://www.qbittorrent.org/"
@@ -49,6 +49,7 @@ src_configure() {
        local myconf=(
                ./configure
                --prefix="${EPREFIX}/usr"
+               --qtdir="$(qt4_get_libdir)"
                --with-libboost-inc="${EPREFIX}/usr/include/boost"
                --with-qtsingleapplication=system
                $(use dbus  || echo --disable-qt-dbus)