commit:     45429f27d83d3c8d3179caf8e0856d90acd5ff5a
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  5 15:17:54 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Apr  5 15:20:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45429f27

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 <AT> gentoo.org>

 app-office/lyx/lyx-2.4.0_rc4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-office/lyx/lyx-2.4.0_rc4.ebuild 
b/app-office/lyx/lyx-2.4.0_rc4.ebuild
index 82b5c7dd8d90..ee1f818cff5e 100644
--- a/app-office/lyx/lyx-2.4.0_rc4.ebuild
+++ b/app-office/lyx/lyx-2.4.0_rc4.ebuild
@@ -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
 

Reply via email to