net-p2p/transmission: Refer to lrelease by absolute path
authorMike Gilbert <floppym@gentoo.org>
Thu, 22 Oct 2015 17:39:27 +0000 (13:39 -0400)
committerMike Gilbert <floppym@gentoo.org>
Thu, 22 Oct 2015 17:39:40 +0000 (13:39 -0400)
Bug: https://bugs.gentoo.org/563500

Package-Manager: portage-2.2.23_p4

net-p2p/transmission/transmission-2.84-r3.ebuild

index 4c99f388d0ec4353f971c89b36e6a20ec9c19964..3834c7c6f124d2b3d645b37ae0dc9d67a2ea598a 100644 (file)
@@ -102,10 +102,11 @@ src_compile() {
        emake
 
        if use qt4 || use qt5; then
-               use qt4 && local -x QT_SELECT=4
-               use qt5 && local -x QT_SELECT=5
+               local qt_bindir
+               use qt4 && qt_bindir=$(qt4_get_bindir)
+               use qt5 && qt_bindir=$(qt5_get_bindir)
                emake -C qt
-               lrelease qt/translations/*.ts || die
+               "${qt_bindir}"/lrelease qt/translations/*.ts || die
        fi
 }