1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

Honor $YACC and fix build with recent byacc.

PR:		247522
This commit is contained in:
Jung-uk Kim 2020-07-14 01:39:42 +00:00
parent 8f1d7d0c6f
commit 3a87ad06d6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=542173
3 changed files with 21 additions and 1 deletions

View File

@ -29,7 +29,7 @@ USE_TEX= dvipsk:build latex:build
USE_XORG= ice sm x11 xext xt
HAS_CONFIGURE= yes
CONFIGURE_ENV+= ALLIANCE_TOP=${ALLIANCE_TOP}
CONFIGURE_ENV+= ALLIANCE_TOP=${ALLIANCE_TOP} YACC=${YACC}
CONFIGURE_ARGS+=--mandir=${MANPREFIX}/man \
--prefix=${ALLIANCE_TOP}

View File

@ -0,0 +1,11 @@
--- exp/src/Makefile.am.orig 2014-08-02 23:38:00 UTC
+++ exp/src/Makefile.am
@@ -2,7 +2,7 @@
bin_PROGRAMS = exp
-YACC = @YACC@ -d -v --debug
+YACC = @YACC@ -d -v -t
CFLAGS = @CFLAGS@ @ALLIANCE_CFLAGS@
exp_LDADD =

View File

@ -0,0 +1,9 @@
--- fvh/src/fbl_byacc.h.orig 2014-08-02 23:38:00 UTC
+++ fvh/src/fbl_byacc.h
@@ -119,5 +119,5 @@ extern void fbl_select();
extern char * fbl_stostr __P((char *str));
extern void fbl_y_error __P((char *str));
- extern long fbl_y_lex __P(());
+ extern int fbl_y_lex __P(());