I've attached a patch which fixes building on FreeBSD when bison isn't
installed. Both BSD and GNU Yacc understand "-l".
--
Bruce
From 6222c6faf382ef40bad022a06fa2a753cafc1711 Mon Sep 17 00:00:00 2001
From: Bruce Cran <bruce@xxxxxxxxxxx>
Date: Wed, 15 Oct 2014 14:01:34 -0600
Subject: [PATCH] BSD Yacc doesn't understand --no-lines, so use -l instead.
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 0f77df9..55a93fc 100644
--- a/Makefile
+++ b/Makefile
@@ -276,7 +276,7 @@ y.tab.o: y.tab.c y.tab.h
$(QUIET_CC)$(CC) -o $@ $(CFLAGS) $(CPPFLAGS) -c $<
y.tab.c: exp/expression-parser.y
- $(QUIET_YACC)$(YACC) --no-lines -d -b y exp/expression-parser.y
+ $(QUIET_YACC)$(YACC) -l -d -b y exp/expression-parser.y
y.tab.h: y.tab.c
--
2.1.0