[graphics/krita] 3rdparty/ext_gettext: 3rdparty: disable autotools maintainer mode on gettext

L. E. Segovia null at kde.org
Thu Mar 25 01:01:26 GMT 2021


Git commit 77137ccc68b2e4af9575e47051faab6179f27aad by L. E. Segovia.
Committed on 25/03/2021 at 00:52.
Pushed by lsegovia into branch 'master'.

3rdparty: disable autotools maintainer mode on gettext

In macOS, it seems that there's a filesystem race condition with
autotools's status check, which makes it trigger a rebuild of
gettext-runtime's config.h.in. I could only reproduce it with a manual
patch of the files, which does not update their timestamp.
Rebuilding config.h.in is not possible unless you have autotools
installed (and in CI they are certainly not), so I'll disable it
explicitly.

CCMAIL: kimageshop at kde.org

M  +1    -1    3rdparty/ext_gettext/CMakeLists.txt

https://invent.kde.org/graphics/krita/commit/77137ccc68b2e4af9575e47051faab6179f27aad

diff --git a/3rdparty/ext_gettext/CMakeLists.txt b/3rdparty/ext_gettext/CMakeLists.txt
index 2aa33f1c5f..5bceb2f5cf 100644
--- a/3rdparty/ext_gettext/CMakeLists.txt
+++ b/3rdparty/ext_gettext/CMakeLists.txt
@@ -52,7 +52,7 @@ ExternalProject_Add( ext_gettext
     PATCH_COMMAND ${PATCH_COMMAND} --binary -p1 -i ${CMAKE_CURRENT_SOURCE_DIR}/0005-Fix-libgettextpo-linking-on-macOS.patch
 
     INSTALL_DIR ${PREFIX_ext_gettext}
-    CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=${PREFIX_ext_gettext} --disable-java   ${GLOBAL_AUTOMAKE_PROFILE} --disable-native-java 
+    CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=${PREFIX_ext_gettext} --disable-java   ${GLOBAL_AUTOMAKE_PROFILE} --disable-native-java --disable-maintainer-mode
    BUILD_COMMAND make
    INSTALL_COMMAND make install
 


More information about the kimageshop mailing list