83920fb731
* Changes in version 2.4.3 (2010-08-05): ** Bison now obeys -Werror and --warnings=error for warnings about grammar rules that are useless in the parser due to conflicts. ** Problems with spawning M4 on at least FreeBSD 8 and FreeBSD 9 have been fixed. ** Failures in the test suite for GCC 4.5 have been fixed. ** Failures in the test suite for some versions of Sun Studio C++ have been fixed. ** Contrary to Bison 2.4.2's NEWS entry, it has been decided that warnings about undefined %prec identifiers will not be converted to errors in Bison 2.5. They will remain warnings, which should be sufficient for POSIX while avoiding backward compatibility issues. ** Minor documentation fixes.
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.75 2010/08/15 15:16:58 wiz Exp $
|
|
|
|
DISTNAME= bison-2.4.3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=bison/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
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
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_LANGUAGES= c c++
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= grep gm4:run msgfmt
|
|
INFO_FILES= # PLIST
|
|
|
|
CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes \
|
|
ac_cv_prog_M4=${TOOLS_PATH.gm4}
|
|
|
|
TEST_TARGET= check
|
|
|
|
# Avoid rebuilding manpage
|
|
pre-build:
|
|
${TOUCH} ${WRKSRC}/doc/bison.1
|
|
|
|
# "bison" wants a recent version of "gettext" which at least NetBSD doesn'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"
|