net-libs/telepathy-logger-qt: ensure the correct version of Qt is used
authorMichael Palimaka <kensington@gentoo.org>
Wed, 6 Apr 2016 19:28:05 +0000 (05:28 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Wed, 6 Apr 2016 19:28:23 +0000 (05:28 +1000)
Gentoo-bug: 544108

Package-Manager: portage-2.2.28

net-libs/telepathy-logger-qt/telepathy-logger-qt-0.8.0.ebuild

index 98d7651245f2cddead526f8d93ed9ced2f0342cd..a3a96586f1457951266f5d50aecbac416ffbf817 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -6,7 +6,7 @@ EAPI=5
 
 PYTHON_COMPAT=( python2_7 )
 KDE_REQUIRED="never"
-inherit kde4-base python-any-r1
+inherit kde4-base python-any-r1 qmake-utils
 
 DESCRIPTION="Qt4 bindings for the Telepathy logger"
 HOMEPAGE="https://projects.kde.org/projects/extragear/network/telepathy/telepathy-logger-qt"
@@ -41,6 +41,7 @@ pkg_setup() {
 src_configure() {
        local mycmakeargs=(
                -DBUILD_SHARED_LIBS=ON
+               -DQT_QMAKE_EXECUTABLE="$(qt4_get_bindir)/qmake"
        )
        kde4-base_src_configure
 }