component(developer/golang-123): Add Component
[oi-userland.git] / components / games / nethack / patches / Makefile.utl.patch
blobc8c9434ad493617b4021a6f5538527e693ae7627
1 diff -Nru NetHack-3.6.7.orig/sys/unix/Makefile.utl NetHack-3.6.7/sys/unix/Makefile.utl
2 --- NetHack-3.6.7.orig/sys/unix/Makefile.utl 2023-02-15 22:52:57.000000000 +0100
3 +++ NetHack-3.6.7/sys/unix/Makefile.utl 2023-10-08 15:12:17.968093996 +0200
4 @@ -94,8 +94,8 @@
5 # flags for debugging:
6 # CFLAGS = -g -I../include
8 -#CFLAGS = -O -I../include
9 -#LFLAGS =
10 +CFLAGS = -O -I../include
11 +LFLAGS =
13 # we specify C preprocessor flags via CFLAGS; files built with default rules
14 # might include $(CPPFLAGS) which could get a value from user's environment;
15 @@ -111,11 +111,11 @@
17 # yacc/lex programs to use to generate *_comp.h, *_lex.c, and *_yacc.c.
18 # if, instead of yacc/lex you have bison/flex, comment/uncomment the following.
19 -YACC = yacc
20 -LEX = lex
21 -# YACC = bison -y
22 +# YACC = yacc
23 +# LEX = lex
24 +YACC = bison -y
25 # YACC = byacc
26 -# LEX = flex
27 +LEX = flex
29 # these are the names of the output files from YACC/LEX. Under MS-DOS
30 # and similar systems, they may differ