bison: enable NLS.

The configure system causes Bison to be built without support for internationalization of error messages if a bison program is not already in $PATH.
This commit is contained in:
ojab 2012-01-12 10:42:57 +04:00
parent 8cd528b503
commit 708a4b69e2

View File

@ -3,7 +3,7 @@ pkgname=bison
version=2.5
distfiles="http://ftp.gnu.org/pub/gnu/bison/$pkgname-$version.tar.bz2"
build_style=gnu-configure
revision=1
revision=2
short_desc="GNU yacc(1) replacement"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=0a370df6ee2b23e9ec3043e1ab78878241aa008ec424926294dd4cb3475439b8
@ -14,3 +14,8 @@ long_desc="
Add_dependency full glibc
Add_dependency full m4
Add_dependency build gettext
pre_configure()
{
echo '#define YYENABLE_NLS 1' >> lib/config.h
}