libuv: Update from 1.20.0 to 1.20.1
[termux-packages] / packages / tty-clock / Makefile.patch
CommitLineData
7f37b952 1diff --git a/Makefile b/Makefile
fdc24f79 2index 5028ee4..f3ce14f 100644
7f37b952
OS
3--- a/Makefile
4+++ b/Makefile
fdc24f79
OS
5@@ -9,16 +9,8 @@ PREFIX ?= /usr/local
6 INSTALLPATH = ${DESTDIR}${PREFIX}/bin
7 MANPATH = ${DESTDIR}${PREFIX}/share/man/man1
7f37b952 8
fdc24f79
OS
9-ifeq ($(shell sh -c 'which ncurses5-config>/dev/null 2>/dev/null && echo y'), y)
10- CFLAGS += -Wall -g $$(ncurses5-config --cflags)
7f37b952 11- LDFLAGS += $$(ncurses5-config --libs)
fdc24f79
OS
12-else ifeq ($(shell sh -c 'which ncursesw5-config>/dev/null 2>/dev/null && echo y'), y)
13- CFLAGS += -Wall -g $$(ncursesw5-config --cflags)
14- LDFLAGS += $$(ncursesw5-config --libs)
15-else
16 CFLAGS += -Wall -g $$(pkg-config --cflags ncurses)
17 LDFLAGS += $$(pkg-config --libs ncurses)
18-endif
19
20 tty-clock : ${SRC}
21