pkgsrc/devel/bison/Makefile
wiz a45ba0ccdd bison: update to 3.8.2.
* 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.
2021-10-08 21:43:05 +00:00

34 lines
808 B
Makefile

# $NetBSD: Makefile,v 1.123 2021/10/08 21:43:05 wiz Exp $
DISTNAME= bison-3.8.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=bison/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.gnu.org/software/bison/bison.html
COMMENT= GNU yacc(1) replacement
LICENSE= gnu-gpl-v3
CHECK_PORTABILITY_SKIP+= tests/local.mk
USE_LANGUAGES= c c++
USE_TOOLS+= grep gm4:run flex perl:build
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-yacc
CONFIGURE_ENV+= ac_cv_prog_M4=${TOOLS_PATH.gm4}
.include "options.mk"
INFO_FILES= yes
TEST_TARGET= check
REPLACE_PERL+= examples/extexi
REPLACE_SH+= examples/test examples/*/*.test
CONFIGURE_ARGS.Cygwin+= ac_cv_func___fpending=yes
# Avoid rebuilding manpage
pre-build:
${TOUCH} ${WRKSRC}/doc/bison.1
.include "../../mk/bsd.pkg.mk"