Mercurial > mxe-octave
view src/readline.mk @ 6516:5ef7d51c2195
readline: Update to version 8.2-001.
* src/readline.mk: Update version and checksum.
* src/readline-0-001-upstream.patch: Upstream patch re-formatted to apply in
MXE Octave.
See: https://ftp.gnu.org/pub/gnu/readline/readline-8.2-patches/readline82-001
* src/readline-0-002-upstream.patch: Remove upstream patch for previous version.
* src/readline-1-input.patch, src/readline-1-sigwinch.patch: Update patches.
* src/readline-3-fd_set.patch: Add patch to guard functions that use types that
aren't available on Windows.
* src/gdb-1-readline-8.2.patch: Cherry-pick upstream patch.
* dist-files.mk: Update files in list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 12 Nov 2022 17:00:41 +0100 |
parents | 41e50d658de0 |
children |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := readline $(PKG)_IGNORE := $(PKG)_VERSION := 8.2 $(PKG)_CHECKSUM := 97ad98be243a857b639c0f3da2fe7d81c6d1d36e $(PKG)_SUBDIR := readline-$($(PKG)_VERSION) $(PKG)_FILE := readline-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://ftp.gnu.org/gnu/readline/$($(PKG)_FILE) ifeq ($(MXE_SYSTEM),mingw) $(PKG)_TERMCAP_LIB := termcap $(PKG)_CONFIGURE_OPTIONS := --without-curses else $(PKG)_TERMCAP_LIB := ncurses ifeq ($(MXE_NATIVE_BUILD),yes) $(PKG)_CONFIGURE_OPTIONS := --with-curses bash_cv_termcap_lib="-lncurses" $(PKG)_MAKE_OPTIONS := SHLIB_LIBS="-lncurses" endif endif $(PKG)_DEPS := $($(PKG)_TERMCAP_LIB) define $(PKG)_UPDATE $(WGET) -q -O- 'http://tiswww.case.edu/php/chet/readline/rltop.html' | \ grep 'readline-' | \ $(SED) -n 's,.*readline-\([0-9][^>]*\)\.tar.*,\1,p' | \ head -1 endef define $(PKG)_BUILD if test x$(MXE_SYSTEM) = xmsvc; then \ for f in '$(1)/support/shlib-install' '$(1)/support/shobj-conf'; do \ $(SED) -i -e 's/@@LIBRARY_PREFIX@@/$(LIBRARY_PREFIX)/g' \ -e 's/@@LIBRARY_SUFFIX@@/$(LIBRARY_SUFFIX)/g' $$f; \ done; \ fi cd '$(1)' && bash_cv_wcwidth_broken=no \ ./configure \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ $($(PKG)_CONFIGURE_OPTIONS) \ --prefix='$(HOST_PREFIX)' \ --enable-multibyte \ --without-purify $(MAKE) -C '$(1)' -j '$(JOBS)' $($(PKG)_MAKE_OPTIONS) install DESTDIR='$(3)' endef