summaryrefslogtreecommitdiff
path: root/net-im/toxic/files/patch-Makefile
blob: 08559d6285cbf563ba25b8551fdba53a1c5a005f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- Makefile.orig	2025-01-09 14:41:43 UTC
+++ Makefile
@@ -38,6 +38,10 @@ endif
 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