summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/transmission/transmission-2.84-r3.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/net-p2p/transmission/transmission-2.84-r3.ebuild b/net-p2p/transmission/transmission-2.84-r3.ebuild
index 4c99f388d0ec..3834c7c6f124 100644
--- a/net-p2p/transmission/transmission-2.84-r3.ebuild
+++ b/net-p2p/transmission/transmission-2.84-r3.ebuild
@@ -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
}