summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-01-05 01:52:55 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-01-05 01:52:55 +0000
commit4d8a6dba0506daecc9e9019ba5999374393afff3 (patch)
treee6502bb4bdd4c827f4faa42a5f741199772bae88
parent20dba5a0295aa2db17c2ccb4e885d52dc33386b7 (diff)
proper bypass of qtchooser
-rw-r--r--net-misc/megasync/megasync-2.9.10.ebuild7
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
}