1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/audio/epos-devel
Alexey Dokuchaev 6b5eb98e6d Unbreak the build on 9.X (against old yacc(1) which apparently does not
support %token_table declaration).  Originally the port was relying on
bison(1) instead (via USES=bison) in yacc-compat mode, but was switched
to yacc(1) in r389653 because it failed to build against `devel/bison'
version update to 3.0.4 as part of an exp-run (see PR).

It turns out that actually generated code does not suffer from removing
%token_table: the only difference in generated `neural_parse.cc' is that
yyname[] table is not guarded by `#if YYDEBUG' and it #define's yytname
as yyname, but the code that references yytname in `neural_parse.cc' is
#if'ed 0 and YYDEBUG is defined to 1 earlier.  That said, simply comment
out %token_table line which allows the build to proceed (ir)regardless of
the yacc(1) version, on all FreeBSD releases (including 8.X).

While here, remove `ac_cv_lib_stdcpp_main=no' in CONFIGURE_ENV that was
supposed to fix the build against Clang added in r323095 as it seems no
longer required, augment COMMENT and port description, and fix WWW line
to point to working website, killing trailing whitespace along the way.

PR:	200833
2016-01-26 17:57:01 +00:00
..
files Unbreak the build on 9.X (against old yacc(1) which apparently does not 2016-01-26 17:57:01 +00:00
distinfo
Makefile Unbreak the build on 9.X (against old yacc(1) which apparently does not 2016-01-26 17:57:01 +00:00
pkg-descr Unbreak the build on 9.X (against old yacc(1) which apparently does not 2016-01-26 17:57:01 +00:00
pkg-plist Cleanup plist 2014-10-20 06:35:58 +00:00