c438422d49
cpe:2.3🅰️flex_project:flex has been deprecated in favor of cpe:2.3🅰️westes:flex in October 2023: <cpe-item name="cpe:/a:flex_project:flex:2.6.4" deprecated="true" deprecation_date="2023-10-06T17:12:20.950Z"> <title xml:lang="en-US">Flex Fast Lexical Analyser 2.6.4</title> <reference href="https://github.com/westes/flex/releases">Version</reference> <reference href="https://github.com/westes/flex/">Product</reference> <cpe-23:cpe23-item name="cpe:2.3🅰️flex_project:flex:2.6.4:*:*:*:*:*:*:*"> <cpe-23:deprecated-by name="cpe:2.3🅰️westes:flex:2.6.4:*:*:*:*:*:*:*" type="NAME_CORRECTION"/> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
36 lines
1.2 KiB
Makefile
36 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# flex
|
|
#
|
|
################################################################################
|
|
|
|
FLEX_VERSION = 2.6.4
|
|
FLEX_SITE = https://github.com/westes/flex/files/981163
|
|
FLEX_INSTALL_STAGING = YES
|
|
FLEX_LICENSE = FLEX
|
|
FLEX_LICENSE_FILES = COPYING
|
|
FLEX_CPE_ID_VENDOR = westes
|
|
# bug does not cause stack overflows in the generated code and has been
|
|
# noted upstream as a bug in the code generator
|
|
FLEX_IGNORE_CVES = CVE-2019-6293
|
|
FLEX_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-m4
|
|
HOST_FLEX_DEPENDENCIES = host-m4
|
|
|
|
# 0001-build-AC_USE_SYSTEM_EXTENSIONS-in-configure.ac.patch
|
|
# 0002-build-make-it-possible-to-disable-the-build-of-the-f.patch
|
|
# 0003-build-make-it-possible-to-disable-the-build-of-the-d.patch
|
|
FLEX_AUTORECONF = YES
|
|
FLEX_AUTOPOINT = YES
|
|
FLEX_CONF_ENV = ac_cv_path_M4=/usr/bin/m4 \
|
|
ac_cv_func_reallocarray=no
|
|
|
|
# Don't enable programs, they are not needed on the target, and
|
|
# require MMU support.
|
|
# Don't enable the doc, it's not needed on the target and requires
|
|
# special tools (help2man) to build.
|
|
FLEX_CONF_OPTS += --disable-program --disable-doc
|
|
HOST_FLEX_CONF_OPTS = --disable-doc
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|