wok diff tty-clock/stuff/patches/Makefile-2.3 @ rev 23833

updated picard (1.4.0.5 -> 2.3.1)
author Hans-G?nter Theisgen
date Mon Jun 01 07:18:17 2020 +0100 (2020-06-01)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tty-clock/stuff/patches/Makefile-2.3	Mon Jun 01 07:18:17 2020 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +--- Makefile.orig	2017-01-15 04:21:24.000000000 +0100
     1.5 ++++ Makefile	2019-05-16 14:24:02.973039819 +0100
     1.6 +@@ -9,12 +9,12 @@ PREFIX ?= /usr/local
     1.7 + INSTALLPATH = ${DESTDIR}${PREFIX}/bin
     1.8 + MANPATH = ${DESTDIR}${PREFIX}/share/man/man1
     1.9 + 
    1.10 +-ifeq ($(shell sh -c 'which ncurses5-config>/dev/null 2>/dev/null && echo y'), y)
    1.11 +-	CFLAGS += -Wall -g $$(ncurses5-config --cflags)
    1.12 +-	LDFLAGS += $$(ncurses5-config --libs)
    1.13 +-else ifeq ($(shell sh -c 'which ncursesw5-config>/dev/null 2>/dev/null && echo y'), y)
    1.14 +-		CFLAGS += -Wall -g $$(ncursesw5-config --cflags)
    1.15 +-		LDFLAGS += $$(ncursesw5-config --libs)
    1.16 ++ifeq ($(shell sh -c 'which ncurses6-config>/dev/null 2>/dev/null && echo y'), y)
    1.17 ++	CFLAGS += -Wall -g $$(ncurses6-config --cflags)
    1.18 ++	LDFLAGS += $$(ncurses6-config --libs)
    1.19 ++else ifeq ($(shell sh -c 'which ncursesw6-config>/dev/null 2>/dev/null && echo y'), y)
    1.20 ++		CFLAGS += -Wall -g $$(ncursesw6-config --cflags)
    1.21 ++		LDFLAGS += $$(ncursesw6-config --libs)
    1.22 + else
    1.23 + 	CFLAGS += -Wall -g $$(pkg-config --cflags ncurses)
    1.24 + 	LDFLAGS += $$(pkg-config --libs ncurses)