comparison src/build-gettext.mk @ 5885:fbad4bcfdf3c

* build-gettext.mk: One more attempt to fix build issues.
author John W. Eaton <jwe@octave.org>
date Fri, 10 Sep 2021 15:34:26 -0400
parents 62eada485ce7
children d1f4f3739a52
comparison
equal deleted inserted replaced
5884:62eada485ce7 5885:fbad4bcfdf3c
15 $(SED) -n 's,.*<a href="gettext-\([0-9\.]*\)\.tar.*,\1,p' | \ 15 $(SED) -n 's,.*<a href="gettext-\([0-9\.]*\)\.tar.*,\1,p' | \
16 $(SORT) -V | \ 16 $(SORT) -V | \
17 tail -1 17 tail -1
18 endef 18 endef
19 19
20 ## See
21 ##
22 ## https://octave.discourse.group/t/octave-space-fails-to-build-gnutls/1573/19
23 ##
24 ## for a discussion about the CCACHE_NODIRECT setting below.
25
20 define $(PKG)_BUILD 26 define $(PKG)_BUILD
21 mkdir '$(1).build' 27 mkdir '$(1).build'
22 cd '$(1).build' && '$(1)/configure' \ 28 cd '$(1).build' && '$(1)/configure' \
23 --prefix='$(BUILD_TOOLS_PREFIX)' \ 29 --prefix='$(BUILD_TOOLS_PREFIX)' \
24 --without-libexpat-prefix \ 30 --without-libexpat-prefix \
25 --without-libxml2-prefix \ 31 --without-libxml2-prefix \
26 $($(PKG)_CONFIGURE_OPTIONS) 32 $($(PKG)_CONFIGURE_OPTIONS)
27 $(MAKE) -C '$(1).build/gnulib-local' -j $(JOBS) 33 CCACHE_NODIRECT=1 $(MAKE) -C '$(1).build' -j '$(JOBS)'
28 $(MAKE) -C '$(1).build/gettext-runtime/gnulib-lib' -j $(JOBS)
29 $(MAKE) -C '$(1).build/gettext-tools/gnulib-lib' -j $(JOBS)
30 $(MAKE) -C '$(1).build' -j $(JOBS)
31 $(MAKE) -C '$(1).build' -j 1 $(MXE_DISABLE_DOCS) install DESTDIR='$(3)' 34 $(MAKE) -C '$(1).build' -j 1 $(MXE_DISABLE_DOCS) install DESTDIR='$(3)'
32 endef 35 endef