if test "$(get_spell_provider $SPELL GECKO)" = firefox; then
OPTS="MOZILLA_CONFIG=${INSTALL_ROOT}/usr/lib/firefox/firefox-config
XPIDL=${INSTALL_ROOT}/usr/lib/firefox/
XPIDL_INCL=-I${INSTALL_ROOT}/usr/share/idl/firefox $OPTS" &&
@@ -22,16 +17,13 @@ fi &&
# help configure to find needed QT4 binaries
# if not exported, configure doesn't find them
if is_depends_enabled $SPELL qt4; then
- export MOC="${INSTALL_ROOT}/usr/bin/qt4/moc"
- export RCC="${INSTALL_ROOT}/usr/bin/qt4/rcc"
- export UIC="${INSTALL_ROOT}/usr/bin/qt4/uic"
+ export PKG_CONFIG_PATH=$QT4DIR/lib/pkgconfig
+fi &&
+if is_depends_enabled $SPELL qtbase; then
+ export PKG_CONFIG_PATH=$QT5DIR/lib/pkgconfig
fi &&