Mercurial > mxe-octave
annotate src/build-gettext.mk @ 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 | d1f4f3739a52 |
children | 72648e3263e4 |
rev | line source |
---|---|
4126 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := build-gettext | |
5 $(PKG)_IGNORE := | |
5505
391a0292bcaa
gettext: update to 0.21
John Donoghue <john.donoghue@ieee.org>
parents:
5377
diff
changeset
|
6 $(PKG)_VERSION := 0.21 |
391a0292bcaa
gettext: update to 0.21
John Donoghue <john.donoghue@ieee.org>
parents:
5377
diff
changeset
|
7 $(PKG)_CHECKSUM := e6c0a0cba5b00a604c9118403a8199c77a538526 |
4126 | 8 $(PKG)_SUBDIR := gettext-$($(PKG)_VERSION) |
9 $(PKG)_FILE := gettext-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/gettext/$($(PKG)_FILE) | |
11 $(PKG)_DEPS := | |
12 | |
13 define $(PKG)_UPDATE | |
4545
0e56fe2d2ef5
Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents:
4441
diff
changeset
|
14 $(WGET) -q -O- 'http://ftp.gnu.org/gnu/gettext/?C=M;O=D' | \ |
0e56fe2d2ef5
Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents:
4441
diff
changeset
|
15 $(SED) -n 's,.*<a href="gettext-\([0-9\.]*\)\.tar.*,\1,p' | \ |
0e56fe2d2ef5
Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents:
4441
diff
changeset
|
16 $(SORT) -V | \ |
0e56fe2d2ef5
Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents:
4441
diff
changeset
|
17 tail -1 |
4126 | 18 endef |
19 | |
5886
5d6c81bb0237
* build-gettext.mk: Graft changes from default branch.
John W. Eaton <jwe@octave.org>
parents:
5881
diff
changeset
|
20 ## See |
5d6c81bb0237
* build-gettext.mk: Graft changes from default branch.
John W. Eaton <jwe@octave.org>
parents:
5881
diff
changeset
|
21 ## |
5d6c81bb0237
* build-gettext.mk: Graft changes from default branch.
John W. Eaton <jwe@octave.org>
parents:
5881
diff
changeset
|
22 ## https://octave.discourse.group/t/octave-space-fails-to-build-gnutls/1573/19 |
5d6c81bb0237
* build-gettext.mk: Graft changes from default branch.
John W. Eaton <jwe@octave.org>
parents:
5881
diff
changeset
|
23 ## |
5d6c81bb0237
* build-gettext.mk: Graft changes from default branch.
John W. Eaton <jwe@octave.org>
parents:
5881
diff
changeset
|
24 ## for a discussion about the CCACHE_NODIRECT setting below. |
5d6c81bb0237
* build-gettext.mk: Graft changes from default branch.
John W. Eaton <jwe@octave.org>
parents:
5881
diff
changeset
|
25 |
4126 | 26 define $(PKG)_BUILD |
6215
d18a5545df0d
build-gettext: Don't build emacs bindings.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5887
diff
changeset
|
27 mkdir '$(1)/.build' |
d18a5545df0d
build-gettext: Don't build emacs bindings.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5887
diff
changeset
|
28 cd '$(1)/.build' && \ |
d18a5545df0d
build-gettext: Don't build emacs bindings.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5887
diff
changeset
|
29 '$(1)/configure' \ |
d18a5545df0d
build-gettext: Don't build emacs bindings.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5887
diff
changeset
|
30 --prefix='$(BUILD_TOOLS_PREFIX)' \ |
d18a5545df0d
build-gettext: Don't build emacs bindings.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5887
diff
changeset
|
31 --without-libexpat-prefix \ |
d18a5545df0d
build-gettext: Don't build emacs bindings.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5887
diff
changeset
|
32 --without-libxml2-prefix \ |
d18a5545df0d
build-gettext: Don't build emacs bindings.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5887
diff
changeset
|
33 --without-emacs \ |
d18a5545df0d
build-gettext: Don't build emacs bindings.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5887
diff
changeset
|
34 $($(PKG)_CONFIGURE_OPTIONS) |
d18a5545df0d
build-gettext: Don't build emacs bindings.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5887
diff
changeset
|
35 CCACHE_NODIRECT=1 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' |
d18a5545df0d
build-gettext: Don't build emacs bindings.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5887
diff
changeset
|
36 $(MAKE) -C '$(1)/.build' -j 1 $(MXE_DISABLE_DOCS) install DESTDIR='$(3)' |
4126 | 37 endef |