HunSpellVersion=${HunSpellVersion:-"1.3.3"}
HunSpellSource="hunspell-${HunSpellVersion}"
-HunSpellLibrary="libhunspell-1.3.3.dylib"
+HunSpellLibrary="libhunspell-1.3.0.dylib"
unset DYLD_LIBRARY_PATH LD_LIBRARY_PATH
;;
--with-qt-dir=*)
QTDIR=$(echo ${1}|cut -d= -f2)
- export PATH="${QTDIR}/bin:${PATH}"
shift
;;
--with-macosx-target=*)
"@executable_path/../${fwdir}/${version}${libnm}"\
"${target}"
done
- if [ ! -d "${condir}/translations" ]; then
- mkdir -p "${condir}/translations"
+ if [ -d "${source}"/translations ]; then
+ if [ ! -d "${condir}/translations" ]; then
+ mkdir -p "${condir}/translations"
+ fi
+ echo Copy Qt translations to "${condir}/translations"
+ cp -p "${source}"/translations/qt_*.qm "${condir}/translations"
fi
- echo Copy Qt translations to "${condir}/translations"
- cp -p "${source}"/translations/qt_*.qm "${condir}/translations"
}
# -------------------------