0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-08-24 23:12:41 +00:00
Files
termux-packages/packages/nethack/sys-unix-Makefile.utl.patch.beforehostbuild
Robert Kirkman b3db4a32b4 fix(main/nethack): apply on-device-required patches before hostbuild
- Fixes this error when building `nethack` on-device: `make: lex: No such file or directory`

[no ci]
2025-06-07 03:07:47 -05:00

19 lines
586 B
Diff

--- ../Makefile.utl.orig 2020-10-11 10:23:01.057406272 +0200
+++ ./sys/unix/Makefile.utl 2020-10-11 10:25:46.353406154 +0200
@@ -111,11 +111,11 @@
# yacc/lex programs to use to generate *_comp.h, *_lex.c, and *_yacc.c.
# if, instead of yacc/lex you have bison/flex, comment/uncomment the following.
-YACC = yacc
-LEX = lex
-# YACC = bison -y
+# YACC = yacc
+# LEX = lex
+YACC = bison -y
# YACC = byacc
-# LEX = flex
+LEX = flex
# these are the names of the output files from YACC/LEX. Under MS-DOS
# and similar systems, they may differ