X-Git-Url: http://git.pld-linux.org/?p=packages%2Fnnn.git;a=blobdiff_plain;f=nnn-flags.patch;h=1d75cc307c646d0dcc171bc0ebb902bdc08dd036;hp=2305f2b6fe43d254e50e576fc00eccd62e9b5032;hb=5b10cffe41421a257aa80cb7ec36de7dec187bf4;hpb=321fea6778eb6cef9d8259f6c4e9870b3234f5a4;ds=sidebyside diff --git a/nnn-flags.patch b/nnn-flags.patch index 2305f2b..1d75cc3 100644 --- a/nnn-flags.patch +++ b/nnn-flags.patch @@ -3,7 +3,7 @@ @@ -41,7 +41,7 @@ endif - ifeq ($(O_PCRE),1) + ifeq ($(strip $(O_PCRE)),1) - CPPFLAGS += -DPCRE + override CPPFLAGS += -DPCRE LDLIBS += -lpcre @@ -12,12 +12,12 @@ @@ -62,7 +62,7 @@ endif - ifeq ($(O_CTX8),1) + ifeq ($(strip $(O_CTX8)),1) - CPPFLAGS += -DCTX8 + override CPPFLAGS += -DCTX8 endif - ifeq ($(shell $(PKG_CONFIG) ncursesw && echo 1),1) + ifeq ($(strip $(O_ICONS)),1) @@ -75,9 +75,9 @@ LDLIBS_CURSES ?= -lncurses endif