void-packages/srcpkgs/bison/template
ojab 708a4b69e2 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.
2012-01-12 23:03:20 +04:00

22 lines
578 B
Plaintext

# Template build file for 'bison'.
pkgname=bison
version=2.5
distfiles="http://ftp.gnu.org/pub/gnu/bison/$pkgname-$version.tar.bz2"
build_style=gnu-configure
revision=2
short_desc="GNU yacc(1) replacement"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=0a370df6ee2b23e9ec3043e1ab78878241aa008ec424926294dd4cb3475439b8
long_desc="
Bison is the GNU replacement for yacc(1). Some programs depend on
extensions present in Bison."
Add_dependency full glibc
Add_dependency full m4
Add_dependency build gettext
pre_configure()
{
echo '#define YYENABLE_NLS 1' >> lib/config.h
}