]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/mysql/mysql-4.1.10a/gen_lex_hash.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / mysql / mysql-4.1.10a / gen_lex_hash.patch
1
2 #
3 # Patch managed by http://www.holgerschurig.de/patcher.html
4 #
5
6 --- mysql-4.1.4a-gamma/sql/Makefile.am~gen_lex_hash
7 +++ mysql-4.1.4a-gamma/sql/Makefile.am
8 @@ -140,9 +140,10 @@
9                 @echo "If it fails, re-run configure with --with-low-memory"
10                 $(CXXCOMPILE) $(LM_CFLAGS) -c $<
11  
12 -lex_hash.h:    lex.h gen_lex_hash.cc sql_yacc.h
13 -               $(MAKE) gen_lex_hash$(EXEEXT)
14 -               ./gen_lex_hash$(EXEEXT) > $@
15 +GEN_LEX_HASH = ./gen_lex_hash$(EXEEXT)
16 +               
17 +lex_hash.h:    lex.h gen_lex_hash$(EXEEXT) sql_yacc.h
18 +               $(GEN_LEX_HASH) > $@ || rm -f $@
19  
20  # Hack to ensure that lex_hash.h is built early
21  sql_lex.o:     lex_hash.h