diff options
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/megasync/megasync-2.9.10.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/net-misc/megasync/megasync-2.9.10.ebuild b/net-misc/megasync/megasync-2.9.10.ebuild index 0e81e56a..3db8f5ca 100644 --- a/net-misc/megasync/megasync-2.9.10.ebuild +++ b/net-misc/megasync/megasync-2.9.10.ebuild @@ -75,7 +75,12 @@ src_configure() { src_compile() { cd src || die - ${ROOT}usr/$(get_libdir)/qt5/bin/lrelease MEGASync/MEGASync.pro || die + # bypass qtchooser, some may only have qt4, some qt5 + if use qt5 ; then + ${ROOT}usr/$(get_libdir)/qt5/bin/lrelease MEGASync/MEGASync.pro || die + elif ! use qt5 ; then + ${ROOT}usr/$(get_libdir)/qt4/bin/lrelease MEGASync/MEGASync.pro || die + fi emake } |