summaryrefslogtreecommitdiffstats
path: root/editors/tea/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'editors/tea/BUILD')
-rwxr-xr-xeditors/tea/BUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/editors/tea/BUILD b/editors/tea/BUILD
index 6ac6002c0d..64f17a7e19 100755
--- a/editors/tea/BUILD
+++ b/editors/tea/BUILD
@@ -1,4 +1,5 @@
-QTDIR="${QTDIR:-$INSTALL_ROOT/usr}"
-PATH="$QTDIR/bin/qt4:$PATH"
-qmake PREFIX=$INSTALL_ROOT/usr/bin &&
-make
+if is_depends_enabled $SPELL qt4;then
+ qt4_build
+else
+ qt5_build
+fi