wok-6.x view tty-clock/stuff/patches/Makefile-2.3 @ rev 23001
updated libaio and libaio-dev (0.3.111 -> 0.3.112)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 02 16:49:47 2020 +0100 (2020-03-02) |
parents | |
children |
line source
1 --- Makefile.orig 2017-01-15 04:21:24.000000000 +0100
2 +++ Makefile 2019-05-16 14:24:02.973039819 +0100
3 @@ -9,12 +9,12 @@ PREFIX ?= /usr/local
4 INSTALLPATH = ${DESTDIR}${PREFIX}/bin
5 MANPATH = ${DESTDIR}${PREFIX}/share/man/man1
7 -ifeq ($(shell sh -c 'which ncurses5-config>/dev/null 2>/dev/null && echo y'), y)
8 - CFLAGS += -Wall -g $$(ncurses5-config --cflags)
9 - LDFLAGS += $$(ncurses5-config --libs)
10 -else ifeq ($(shell sh -c 'which ncursesw5-config>/dev/null 2>/dev/null && echo y'), y)
11 - CFLAGS += -Wall -g $$(ncursesw5-config --cflags)
12 - LDFLAGS += $$(ncursesw5-config --libs)
13 +ifeq ($(shell sh -c 'which ncurses6-config>/dev/null 2>/dev/null && echo y'), y)
14 + CFLAGS += -Wall -g $$(ncurses6-config --cflags)
15 + LDFLAGS += $$(ncurses6-config --libs)
16 +else ifeq ($(shell sh -c 'which ncursesw6-config>/dev/null 2>/dev/null && echo y'), y)
17 + CFLAGS += -Wall -g $$(ncursesw6-config --cflags)
18 + LDFLAGS += $$(ncursesw6-config --libs)
19 else
20 CFLAGS += -Wall -g $$(pkg-config --cflags ncurses)
21 LDFLAGS += $$(pkg-config --libs ncurses)