x11-libs/libqxt: don't call qmake directly
authorMichael Palimaka <kensington@gentoo.org>
Sun, 18 Oct 2015 18:07:38 +0000 (05:07 +1100)
committerMichael Palimaka <kensington@gentoo.org>
Sun, 18 Oct 2015 18:13:21 +0000 (05:13 +1100)
Package-Manager: portage-2.2.20.1

x11-libs/libqxt/libqxt-0.6.2-r2.ebuild

index bdebee63532ec9b6a5a6d6c66c5aa80eb456a0da..011aa7a97e47060a43b9354f5694a54633453487 100644 (file)
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
-inherit multilib qt4-r2
+inherit multilib qmake-utils qt4-r2
 
 DESCRIPTION="The Qt eXTension library provides cross-platform utility classes for the Qt toolkit"
 HOMEPAGE="http://libqxt.org/"
@@ -57,7 +57,7 @@ src_configure() {
                -prefix "${EPREFIX}/usr"
                -libdir "${EPREFIX}/usr/$(get_libdir)"
                -docdir "${EPREFIX}/usr/share/doc/${PF}"
-               -qmake-bin "${EPREFIX}/usr/bin/qmake"
+               -qmake-bin "${EPREFIX}/$(qt4_get_bindir)/qmake"
                $(use debug && echo -debug || echo -release)
                $(use berkdb || echo -no-db -nomake berkeley)
                $(use doc || echo -nomake docs)