mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-02 13:43:52 -09:00
Changelog: 2025-01-04 Jess Thrysoee * all: sync with upstream source 2024-08-08 Jess Thrysoee * all: sync with upstream source * doc/Makefile.am: fix regression. Name all manpage links as el_* (e.g. el_history.3) to avoid conflicts. Reported by Zopolis4 2024-05-17 Jess Thrysoee * all: sync with upstream source Upstream changes are theoretically viewable at [1] but not in a very readable form. [1] http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libedit Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu> Signed-off-by: Julien Olivain <ju.o@free.fr>
32 lines
951 B
Makefile
32 lines
951 B
Makefile
################################################################################
|
|
#
|
|
# libedit
|
|
#
|
|
################################################################################
|
|
|
|
LIBEDIT_VERSION = 20250104-3.1
|
|
LIBEDIT_SITE = https://www.thrysoee.dk/editline
|
|
LIBEDIT_INSTALL_STAGING = YES
|
|
LIBEDIT_DEPENDENCIES = ncurses
|
|
LIBEDIT_LICENSE = BSD-3-Clause
|
|
LIBEDIT_LICENSE_FILES = COPYING
|
|
LIBEDIT_CPE_ID_VALID = YES
|
|
|
|
# We're patching configure.ac
|
|
LIBEDIT_AUTORECONF = YES
|
|
|
|
# musl is ISO 10646 compliant but doesn't define __STDC_ISO_10646__,
|
|
# so let's define it manually
|
|
ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
|
|
LIBEDIT_CONF_OPTS += CFLAGS="$(TARGET_CFLAGS) -D__STDC_ISO_10646__=201103L"
|
|
endif
|
|
|
|
# Note: libbsd required for *vis functions, but works only with a toolchain
|
|
# with __progname; otherwise, some features are disabled, as if libbsd was
|
|
# missing entirely.
|
|
ifeq ($(BR2_PACKAGE_LIBBSD),y)
|
|
LIBEDIT_DEPENDENCIES += libbsd
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|