misc/lifelines: Unbreak build as user

checking for bison... bison -o y.tab.c
LifeLines requires GNU Bison to compile src/interp/yacc.y.
===========================================================================
=======================<phase: build          >============================
===>  Building for lifelines-3.1.1_1
gmake[1]: Entering directory '/wrkdirs/usr/ports/misc/lifelines/work/lifelines-3.1.1'
gmake[1]: Makefile: No such file or directory

The configure script cannot cope with any value for YACC that is
not "bison -y" and just exits with an error (and exit status 0, so
the build continues and fails in the next phase when it cannot find
Makefile) when it is a different value.  Set it to "bison -y"
explicitly.

This will fix building as user, but it is not clear why we do not
see this failure when building as root.
This commit is contained in:
Tobias Kortkamp
2019-07-23 05:57:34 +00:00
parent 5e20319a64
commit a16b7a5486

View File

@@ -15,6 +15,7 @@ LICENSE= MIT
USES= autoreconf bison gmake iconv ncurses
GNU_CONFIGURE= yes
CONFIGURE_ENV= YACC="bison -y"
MAKE_JOBS_UNSAFE=yes