changeset 6215:d18a5545df0d release

build-gettext: Don't build emacs bindings. * src/build-gettext.mk: The `emacs` installed on the build system might be incompatible with the STL built by build-gcc. We probably don't need the emacs bindings for the `gettext` build tool anyway. So skip building those bindings.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 07 May 2022 12:01:10 +0200
parents 5f64fb928091
children 2443e2dc2640 40bc8ab1bbec
files src/build-gettext.mk
diffstat 1 files changed, 10 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/build-gettext.mk	Fri May 06 19:36:10 2022 +0200
+++ b/src/build-gettext.mk	Sat May 07 12:01:10 2022 +0200
@@ -24,12 +24,14 @@
 ## for a discussion about the CCACHE_NODIRECT setting below.
 
 define $(PKG)_BUILD
-    mkdir '$(1).build'
-    cd    '$(1).build' && '$(1)/configure' \
-        --prefix='$(BUILD_TOOLS_PREFIX)' \
-        --without-libexpat-prefix \
-        --without-libxml2-prefix \
-	$($(PKG)_CONFIGURE_OPTIONS)
-    CCACHE_NODIRECT=1 $(MAKE) -C '$(1).build' -j '$(JOBS)'
-    $(MAKE) -C '$(1).build' -j 1 $(MXE_DISABLE_DOCS) install DESTDIR='$(3)'
+  mkdir '$(1)/.build'
+  cd '$(1)/.build' && \
+    '$(1)/configure' \
+      --prefix='$(BUILD_TOOLS_PREFIX)' \
+      --without-libexpat-prefix \
+      --without-libxml2-prefix \
+      --without-emacs \
+      $($(PKG)_CONFIGURE_OPTIONS)
+  CCACHE_NODIRECT=1 $(MAKE) -C '$(1)/.build' -j '$(JOBS)'
+  $(MAKE) -C '$(1)/.build' -j 1 $(MXE_DISABLE_DOCS) install DESTDIR='$(3)'
 endef