annotate src/readline.mk @ 5893:53a6c7df43f8

Mesa 3D: Update to version 21.1.8. * src/mesa.mk: Update version and checksum. * src/mesa-2-uninitialized.patch: Remove file. * dist-files.mk: Remove file from list.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 16 Sep 2021 22:37:45 +0200
parents 41e50d658de0
children 5ef7d51c2195
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 1588
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 332
diff changeset
3
330
67fb15f9072f new package: readline
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := readline
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
5 $(PKG)_IGNORE :=
5607
41e50d658de0 readline: update to v8.1
John Donoghue <john.donoghue@ieee.org>
parents: 5007
diff changeset
6 $(PKG)_VERSION := 8.1
41e50d658de0 readline: update to v8.1
John Donoghue <john.donoghue@ieee.org>
parents: 5007
diff changeset
7 $(PKG)_CHECKSUM := 48c5e0c3a212449e206e21ba82856accac842c6f
330
67fb15f9072f new package: readline
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := readline-$($(PKG)_VERSION)
67fb15f9072f new package: readline
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_FILE := readline-$($(PKG)_VERSION).tar.gz
67fb15f9072f new package: readline
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_URL := http://ftp.gnu.org/gnu/readline/$($(PKG)_FILE)
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2904
diff changeset
11
3038
b39961d2ce59 readline: use termcap for mingw native or cross builds
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
12 ifeq ($(MXE_SYSTEM),mingw)
b39961d2ce59 readline: use termcap for mingw native or cross builds
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
13 $(PKG)_TERMCAP_LIB := termcap
5007
c1c5dd2cc2f2 Update readline to 8.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 3652
diff changeset
14 $(PKG)_CONFIGURE_OPTIONS := --without-curses
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2904
diff changeset
15 else
3038
b39961d2ce59 readline: use termcap for mingw native or cross builds
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
16 $(PKG)_TERMCAP_LIB := ncurses
3652
7af3dec1ab50 link readline with ncurses for native builds
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
17 ifeq ($(MXE_NATIVE_BUILD),yes)
7af3dec1ab50 link readline with ncurses for native builds
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
18 $(PKG)_CONFIGURE_OPTIONS := --with-curses bash_cv_termcap_lib="-lncurses"
7af3dec1ab50 link readline with ncurses for native builds
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
19 $(PKG)_MAKE_OPTIONS := SHLIB_LIBS="-lncurses"
7af3dec1ab50 link readline with ncurses for native builds
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
20 endif
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2904
diff changeset
21 endif
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2904
diff changeset
22
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3038
diff changeset
23 $(PKG)_DEPS := $($(PKG)_TERMCAP_LIB)
330
67fb15f9072f new package: readline
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24
67fb15f9072f new package: readline
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
26 $(WGET) -q -O- 'http://tiswww.case.edu/php/chet/readline/rltop.html' | \
330
67fb15f9072f new package: readline
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 grep 'readline-' | \
67fb15f9072f new package: readline
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 $(SED) -n 's,.*readline-\([0-9][^>]*\)\.tar.*,\1,p' | \
67fb15f9072f new package: readline
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 head -1
67fb15f9072f new package: readline
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 endef
67fb15f9072f new package: readline
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31
67fb15f9072f new package: readline
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 define $(PKG)_BUILD
3122
c2864508b524 [MSVC] enable readline compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
33 if test x$(MXE_SYSTEM) = xmsvc; then \
c2864508b524 [MSVC] enable readline compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
34 for f in '$(1)/support/shlib-install' '$(1)/support/shobj-conf'; do \
c2864508b524 [MSVC] enable readline compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
35 $(SED) -i -e 's/@@LIBRARY_PREFIX@@/$(LIBRARY_PREFIX)/g' \
c2864508b524 [MSVC] enable readline compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
36 -e 's/@@LIBRARY_SUFFIX@@/$(LIBRARY_SUFFIX)/g' $$f; \
c2864508b524 [MSVC] enable readline compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
37 done; \
c2864508b524 [MSVC] enable readline compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
38 fi
5007
c1c5dd2cc2f2 Update readline to 8.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 3652
diff changeset
39 cd '$(1)' && bash_cv_wcwidth_broken=no \
c1c5dd2cc2f2 Update readline to 8.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 3652
diff changeset
40 ./configure \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2904
diff changeset
41 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
42 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2525
diff changeset
43 $(ENABLE_SHARED_OR_STATIC) \
3652
7af3dec1ab50 link readline with ncurses for native builds
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
44 $($(PKG)_CONFIGURE_OPTIONS) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2997
diff changeset
45 --prefix='$(HOST_PREFIX)' \
332
0eb8062e5797 enable multibyte characters in package readline
Volker Grabsch <vog@notjusthosting.com>
parents: 331
diff changeset
46 --enable-multibyte \
2904
1122ae1e98b6 New rules for termcap package.
John W. Eaton <jwe@octave.org>
parents: 2864
diff changeset
47 --without-purify
3652
7af3dec1ab50 link readline with ncurses for native builds
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
48 $(MAKE) -C '$(1)' -j '$(JOBS)' $($(PKG)_MAKE_OPTIONS) install DESTDIR='$(3)'
330
67fb15f9072f new package: readline
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
49 endef