diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-01-05 01:52:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-01-05 01:52:55 +0000 |
commit | 4d8a6dba0506daecc9e9019ba5999374393afff3 (patch) | |
tree | e6502bb4bdd4c827f4faa42a5f741199772bae88 /net-misc/megasync | |
parent | 20dba5a0295aa2db17c2ccb4e885d52dc33386b7 (diff) |
proper bypass of qtchooser
Diffstat (limited to 'net-misc/megasync')
-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 } |