pkgsrc/databases/cstore/patches/patch-ao

24 lines
688 B
Text
Raw Normal View History

$NetBSD: patch-ao,v 1.1.1.1 2007/11/10 11:33:00 agc Exp $
--- Build/parser/subdir.mk 2007/11/08 10:39:53 1.1
+++ Build/parser/subdir.mk 2007/11/08 10:40:29
@@ -1,6 +1,6 @@
LEX = flex
LEXFLAGS = -i
-YACC = bison
+YACC = yacc
YACCFLAGS = -d
# intermediate things to be deleted if "make clean"
@@ -13,8 +13,8 @@
$(ROOT)/parser/grammar.cpp $(ROOT)/parser/grammar.h: $(ROOT)/parser/grammar.y
@echo 'Building: $@'
- $(YACC) $(YACCFLAGS) -o$@ $<
- mv $(ROOT)/parser/grammar.hpp $(ROOT)/parser/grammar.h
+ $(YACC) $(YACCFLAGS) -o $(ROOT)/parser/grammar.cpp $<
+ @echo > /dev/null mv $(ROOT)/parser/grammar.hpp $(ROOT)/parser/grammar.h
@echo 'Finished building: $<'
@echo ' '