forked from libretro/Lakka-LibreELEC
0ced927741
update 3.8.1 (2021-09-11) to 3.8.2 (2021-09-25) * Noteworthy changes in release 3.8.2 (2021-09-25) [stable] Fixed portability issues of bison on Cygwin. Improvements in glr2.cc: add support for custom error messages (`%define parse.error custom`), allow linking several parsers together.
23 lines
876 B
Makefile
23 lines
876 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="bison"
|
|
PKG_VERSION="3.8.2"
|
|
PKG_SHA256="9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="http://www.gnu.org/software/bison/"
|
|
PKG_URL="http://ftpmirror.gnu.org/bison/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
|
PKG_DEPENDS_HOST="ccache:host m4:host"
|
|
PKG_LONGDESC="A general-purpose parser generator."
|
|
PKG_BUILD_FLAGS="-parallel"
|
|
|
|
PKG_CONFIGURE_OPTS_HOST="--disable-rpath --with-gnu-ld"
|
|
|
|
post_configure_host() {
|
|
# The configure system causes Bison to be built without support for
|
|
# internationalization of error messages if a bison program is not already in
|
|
# ${PATH}. The following addition will correct this:
|
|
echo '#define YYENABLE_NLS 1' >> lib/config.h
|
|
}
|