Initial push
[termux-packages] / packages / unnethack / dont_delete_makedefs.patch
1 The build machine makedefs binary is built before cross compiling, and must not be removed afterwards.
2
3 diff -u -r ../unnethack-5.1.0-20131208/sys/autoconf/Makefile.src ./sys/autoconf/Makefile.src
4 --- ../unnethack-5.1.0-20131208/sys/autoconf/Makefile.src 2013-12-08 16:00:26.000000000 +0100
5 +++ ./sys/autoconf/Makefile.src 2014-02-14 16:22:56.000000000 +0100
6 @@ -358,11 +358,9 @@
7 # below in the 'make depend' output.
8 monst.o:
9 $(CC) $(CFLAGS) -c $(srcdir)/monst.c
10 - @rm -f $(MAKEDEFS)
11
12 objects.o:
13 $(CC) $(CFLAGS) -c $(srcdir)/objects.c
14 - @rm -f $(MAKEDEFS)
15
16 # Qt windowport meta-object-compiler output
17 qt_kde0.moc: ../include/qt_kde0.h