commit:     d1e2b8347c277c05486e0a530f70fb1cbedc137e
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 16 07:39:25 2015 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Aug 16 07:39:25 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1e2b834

sys-boot/unetbootin: Set and use path to Qt4 executables (maybe bug #557142).

Package-Manager: portage-2.2.20.1

 sys-boot/unetbootin/unetbootin-619.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/sys-boot/unetbootin/unetbootin-619.ebuild 
b/sys-boot/unetbootin/unetbootin-619.ebuild
index 9fb9454..8a9b604 100644
--- a/sys-boot/unetbootin/unetbootin-619.ebuild
+++ b/sys-boot/unetbootin/unetbootin-619.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-inherit eutils qt4-r2
+inherit eutils qmake-utils qt4-r2
 
 DESCRIPTION="UNetbootin installs Linux/BSD distributions to a partition or USB 
drive"
 HOMEPAGE="https://github.com/unetbootin/unetbootin";
@@ -62,8 +62,11 @@ src_prepare() {
 
 src_configure() {
        sed -i -e '/^RESOURCES/d' unetbootin.pro || die
-       lupdate ${PN}.pro || die
-       lrelease ${PN}.pro || die
+
+       UNBN_QTPATH="$(qt4_get_bindir)/"
+       ${UNBN_QTPATH}lupdate ${PN}.pro || die
+       ${UNBN_QTPATH}lrelease ${PN}.pro || die
+
        eqmake4 ${PN}.pro || die
 }
 

Reply via email to