2f888bd61f
* Noteworthy changes in release 3.0.2 (2013-12-05) [stable] ** Bug fixes *** Generated source files when errors are reported When warnings are issued and -Werror is set, bison would still generate the source files (*.c, *.h...). As a consequence, some runs of "make" could fail the first time, but not the second (as the files were generated anyway). This is fixed: bison no longer generates this source files, but, of course, still produces the various reports (*.output, *.xml, etc.). *** %empty is used in reports Empty right-hand sides are denoted by '%empty' in all the reports (text, dot, XML and formats derived from it). *** YYERROR and variants When C++ variant support is enabled, an error triggered via YYERROR, but not caught via error recovery, resulted in a double deletion. * Noteworthy changes in release 3.0.1 (2013-11-12) [stable] ** Bug fixes *** Errors in caret diagnostics On some platforms, some errors could result in endless diagnostics. *** Fixes of the -Werror option Options such as "-Werror -Wno-error=foo" were still turning "foo" diagnostics into errors instead of warnings. This is fixed. Actually, for consistency with GCC, "-Wno-error=foo -Werror" now also leaves "foo" diagnostics as warnings. Similarly, with "-Werror=foo -Wno-error", "foo" diagnostics are now errors. *** GLR Predicates As demonstrated in the documentation, one can now leave spaces between "%?" and its "{". *** Installation The yacc.1 man page is no longer installed if --disable-yacc was specified. *** Fixes in the test suite Bugs and portability issues.
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.94 2013/12/06 12:02:46 wiz Exp $
|
|
|
|
DISTNAME= bison-3.0.2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=bison/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.gnu.org/software/bison/bison.html
|
|
COMMENT= GNU yacc(1) replacement
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= grep gm4:run msgfmt flex perl:build
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --disable-yacc
|
|
CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes
|
|
CONFIGURE_ENV+= ac_cv_prog_M4=${TOOLS_PATH.gm4}
|
|
|
|
INFO_FILES= yes
|
|
TEST_TARGET= check
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "Cygwin"
|
|
CONFIGURE_ARGS+= ac_cv_func___fpending=yes
|
|
.endif
|
|
|
|
# Avoid rebuilding manpage
|
|
pre-build:
|
|
${TOUCH} ${WRKSRC}/doc/bison.1
|
|
|
|
# "bison" wants a recent version of "gettext" which at least some
|
|
# NetBSD versions don't provide. Figure out whether it will install
|
|
# the locale files or not.
|
|
PLIST_SRC= ${WRKDIR}/PLIST
|
|
|
|
post-configure:
|
|
if grep -q '^POSUB = po$$' ${WRKSRC}/Makefile; then \
|
|
${CP} ${PKGDIR}/PLIST ${PLIST_SRC}; \
|
|
else \
|
|
${GREP} -v '^share/locale/' ${PKGDIR}/PLIST >${PLIST_SRC}; \
|
|
fi
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|