qtwebkit-plugins: fix build for different hunspell version (#56925)

This commit is contained in:
Stephen 2019-03-06 12:38:57 -08:00 committed by Dmitry Kalinkin
parent b1f767ef90
commit 38ee19986d

View File

@ -15,7 +15,7 @@ stdenv.mkDerivation {
buildInputs = [ qtwebkit hunspell ]; buildInputs = [ qtwebkit hunspell ];
postPatch = '' postPatch = ''
sed -i "s,-lhunspell,-lhunspell-1.6," src/spellcheck/spellcheck.pri sed -i "s,-lhunspell,-lhunspell-${stdenv.lib.versions.majorMinor hunspell.version}," src/spellcheck/spellcheck.pri
sed -i "s,\$\$\[QT_INSTALL_PLUGINS\],$out/$qtPluginPrefix," src/src.pro sed -i "s,\$\$\[QT_INSTALL_PLUGINS\],$out/$qtPluginPrefix," src/src.pro
''; '';