app-office/lyx: use bundled hunspell & mythes for IUSE="debug"

> CMake Error at development/cmake/ConfigureChecks.cmake:116 (message):
>   Compiling LyX with stdlib-debug and system hunspell libraries may lead to
>   crashes.  Consider using '-DLYX_STDLIB_DEBUG=OFF -DLYX_DEBUG_GLIBC=OFF
>   -DLYX_DEBUG_GLIBC_PEDANTIC=OFF' or -DLYX_EXTERNAL_HUNSPELL=OFF.

I don't revbump, since it fails to build for debug users, and no
change for !debug users.

Closes: https://bugs.gentoo.org/928648
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2024-04-05 18:17:54 +03:00
parent 3c9d5c9ce6
commit 45429f27d8

View File

@@ -118,8 +118,8 @@ src_configure() {
# external dependencies
-DLYX_EXTERNAL_Z=ON
-DLYX_EXTERNAL_ICONV=ON
-DLYX_EXTERNAL_HUNSPELL=ON
-DLYX_EXTERNAL_MYTHES=ON
-DLYX_EXTERNAL_HUNSPELL=$(usex !debug)
-DLYX_EXTERNAL_MYTHES=$(usex !debug)
-DLYX_EXTERNAL_BOOST=$(usex !debug)
-DLYX_PROGRAM_SUFFIX=OFF