Changes 2.6.2: * Bug fixes Buffer overruns, complaints from Flex, and portability issues in the test suite have been fixed. * Spaces in %lex- and %parse-param (lalr1.cc, glr.cc) Trailing end-of-lines in %parse-param or %lex-param would result in invalid C++. This is fixed. * Spurious spaces and end-of-lines The generated files no longer end (nor start) with empty lines.diff -r1.84 -r1.85 pkgsrc/devel/bison/Makefile
(adam)
@@ -1,37 +1,36 @@ | @@ -1,37 +1,36 @@ | |||
1 | # $NetBSD: Makefile,v 1.84 2012/07/29 19:25:53 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.85 2012/08/06 06:25:02 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= bison-2.6 | 3 | DISTNAME= bison-2.6.2 | |
4 | CATEGORIES= devel | 4 | CATEGORIES= devel | |
5 | MASTER_SITES= ${MASTER_SITE_GNU:=bison/} | 5 | MASTER_SITES= ${MASTER_SITE_GNU:=bison/} | |
6 | EXTRACT_SUFX= .tar.xz | 6 | EXTRACT_SUFX= .tar.xz | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://www.gnu.org/software/bison/bison.html | 9 | HOMEPAGE= http://www.gnu.org/software/bison/bison.html | |
10 | COMMENT= GNU yacc(1) replacement | 10 | COMMENT= GNU yacc(1) replacement | |
11 | LICENSE= gnu-gpl-v3 | 11 | LICENSE= gnu-gpl-v3 | |
12 | 12 | |||
13 | PKG_INSTALLATION_TYPES= overwrite pkgviews | 13 | PKG_INSTALLATION_TYPES= overwrite pkgviews | |
14 | PKG_DESTDIR_SUPPORT= user-destdir | 14 | PKG_DESTDIR_SUPPORT= user-destdir | |
15 | 15 | |||
16 | GNU_CONFIGURE= YES | |||
17 | USE_LANGUAGES= c c++ | 16 | USE_LANGUAGES= c c++ | |
18 | USE_PKGLOCALEDIR= yes | 17 | USE_PKGLOCALEDIR= yes | |
19 | USE_TOOLS+= grep gm4:run msgfmt flex | 18 | USE_TOOLS+= grep gm4:run msgfmt flex | |
20 | INFO_FILES= yes | 19 | GNU_CONFIGURE= yes | |
21 | 20 | CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes | ||
22 | CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes \ | 21 | CONFIGURE_ENV+= ac_cv_prog_M4=${TOOLS_PATH.gm4} | |
23 | ac_cv_prog_M4=${TOOLS_PATH.gm4} | |||
24 | 22 | |||
23 | INFO_FILES= yes | |||
25 | TEST_TARGET= check | 24 | TEST_TARGET= check | |
26 | 25 | |||
27 | # Avoid rebuilding manpage | 26 | # Avoid rebuilding manpage | |
28 | pre-build: | 27 | pre-build: | |
29 | ${TOUCH} ${WRKSRC}/doc/bison.1 | 28 | ${TOUCH} ${WRKSRC}/doc/bison.1 | |
30 | 29 | |||
31 | # "bison" wants a recent version of "gettext" which at least some | 30 | # "bison" wants a recent version of "gettext" which at least some | |
32 | # NetBSD versions don't provide. Figure out whether it will install | 31 | # NetBSD versions don't provide. Figure out whether it will install | |
33 | # the locale files or not. | 32 | # the locale files or not. | |
34 | PLIST_SRC= ${WRKDIR}/PLIST | 33 | PLIST_SRC= ${WRKDIR}/PLIST | |
35 | 34 | |||
36 | post-configure: | 35 | post-configure: | |
37 | if grep -q '^POSUB = po$$' ${WRKSRC}/Makefile; then \ | 36 | if grep -q '^POSUB = po$$' ${WRKSRC}/Makefile; then \ |
@@ -1,23 +1,24 @@ | @@ -1,23 +1,24 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.23 2012/06/06 07:20:35 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.24 2012/08/06 06:25:02 adam Exp $ | |
2 | bin/bison | 2 | bin/bison | |
3 | info/bison.info | 3 | info/bison.info | |
4 | lib/liby.a | 4 | lib/liby.a | |
5 | man/man1/bison.1 | 5 | man/man1/bison.1 | |
6 | share/aclocal/bison-i18n.m4 | 6 | share/aclocal/bison-i18n.m4 | |
7 | share/bison/README | 7 | share/bison/README | |
8 | share/bison/bison.m4 | 8 | share/bison/bison.m4 | |
9 | share/bison/c++-skel.m4 | 9 | share/bison/c++-skel.m4 | |
10 | share/bison/c++.m4 | 10 | share/bison/c++.m4 | |
11 | share/bison/c-like.m4 | |||
11 | share/bison/c-skel.m4 | 12 | share/bison/c-skel.m4 | |
12 | share/bison/c.m4 | 13 | share/bison/c.m4 | |
13 | share/bison/glr.c | 14 | share/bison/glr.c | |
14 | share/bison/glr.cc | 15 | share/bison/glr.cc | |
15 | share/bison/java-skel.m4 | 16 | share/bison/java-skel.m4 | |
16 | share/bison/java.m4 | 17 | share/bison/java.m4 | |
17 | share/bison/lalr1.cc | 18 | share/bison/lalr1.cc | |
18 | share/bison/lalr1.java | 19 | share/bison/lalr1.java | |
19 | share/bison/location.cc | 20 | share/bison/location.cc | |
20 | share/bison/m4sugar/foreach.m4 | 21 | share/bison/m4sugar/foreach.m4 | |
21 | share/bison/m4sugar/m4sugar.m4 | 22 | share/bison/m4sugar/m4sugar.m4 | |
22 | share/bison/stack.hh | 23 | share/bison/stack.hh | |
23 | share/bison/xslt/bison.xsl | 24 | share/bison/xslt/bison.xsl |
@@ -1,8 +1,8 @@ | @@ -1,8 +1,8 @@ | |||
1 | $NetBSD: distinfo,v 1.31 2012/07/29 19:25:53 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.32 2012/08/06 06:25:02 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (bison-2.6.tar.xz) = d2825cc4c5610c13a3035b5b97dcd9bf394c6ff5 | 3 | SHA1 (bison-2.6.2.tar.xz) = eb0ddc583954d435d95ec6c42ba168dedc09b9b7 | |
4 | RMD160 (bison-2.6.tar.xz) = a0713e9cbddf856241e809d2a65ef7ee3637ff51 | 4 | RMD160 (bison-2.6.2.tar.xz) = 7885e2fce583491c14b2fa7d8dbd9cbfc23eeca1 | |
5 | Size (bison-2.6.tar.xz) = 1639796 bytes | 5 | Size (bison-2.6.2.tar.xz) = 1650196 bytes | |
6 | SHA1 (patch-doc_Makefile.in) = 11371a773019ada76396d36334abc6c8cac75ec6 | 6 | SHA1 (patch-doc_Makefile.in) = 11371a773019ada76396d36334abc6c8cac75ec6 | |
7 | SHA1 (patch-lib_isnan.c) = c5d2603447064c95e8bbc75a24c09366b752bad6 | 7 | SHA1 (patch-lib_isnan.c) = c5d2603447064c95e8bbc75a24c09366b752bad6 | |
8 | SHA1 (patch-src_Makefile.in) = 6baa8ff8b8f4f0aa9c8efee60e172584c68eac7c | 8 | SHA1 (patch-src_Makefile.in) = 6baa8ff8b8f4f0aa9c8efee60e172584c68eac7c |