summaryrefslogtreecommitdiff
path: root/net-im/toxic/files/patch-Makefile
blob: 26f08944f975c9204f458fbc7ccfbdeb13aaa345 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- 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