opnsense-ports/net-im/toxic/files/patch-Makefile
Franco Fichtner 140c4059af */*: sync with upstream
Taken from: HardenedBSD
2019-07-18 18:11:36 +02:00

13 lines
348 B
Text

--- Makefile.orig 2019-07-14 18:05:38 UTC
+++ Makefile
@@ -23,6 +23,10 @@ UNAME_S = $(shell uname -s)
ifeq ($(UNAME_S), Linux)
LDFLAGS += -ldl -lrt
endif
+ifeq ($(UNAME_S), FreeBSD)
+LIBS := $(filter-out ncursesw, $(LIBS))
+LDFLAGS += -lncursesw
+endif
ifeq ($(UNAME_S), OpenBSD)
LIBS := $(filter-out ncursesw, $(LIBS))
LDFLAGS += -lncursesw