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:
parent
8cd528b503
commit
708a4b69e2
1 changed files with 6 additions and 1 deletions
|
@ -3,7 +3,7 @@ pkgname=bison
|
||||||
version=2.5
|
version=2.5
|
||||||
distfiles="http://ftp.gnu.org/pub/gnu/bison/$pkgname-$version.tar.bz2"
|
distfiles="http://ftp.gnu.org/pub/gnu/bison/$pkgname-$version.tar.bz2"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="GNU yacc(1) replacement"
|
short_desc="GNU yacc(1) replacement"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
checksum=0a370df6ee2b23e9ec3043e1ab78878241aa008ec424926294dd4cb3475439b8
|
checksum=0a370df6ee2b23e9ec3043e1ab78878241aa008ec424926294dd4cb3475439b8
|
||||||
|
@ -14,3 +14,8 @@ long_desc="
|
||||||
Add_dependency full glibc
|
Add_dependency full glibc
|
||||||
Add_dependency full m4
|
Add_dependency full m4
|
||||||
Add_dependency build gettext
|
Add_dependency build gettext
|
||||||
|
|
||||||
|
pre_configure()
|
||||||
|
{
|
||||||
|
echo '#define YYENABLE_NLS 1' >> lib/config.h
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue