about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--README.md5
-rw-r--r--src/Makefile4
2 files changed, 6 insertions, 3 deletions
diff --git a/README.md b/README.md
index 69aa97d..e4c02bf 100644
--- a/README.md
+++ b/README.md
@@ -49,8 +49,9 @@ OS and package manager of choice:
 * `sudo apt install libncursesw6-dev openssl`
 * `brew install ncurses openssl`
 
-So far I've tested Teliva on Linux, Mac OS X, OpenBSD and NetBSD; it should work
-on other flavors of BSD, WSL on Windows, etc. with only minor modifications.
+So far I've tested Teliva on Linux, Mac OS X, OpenBSD, NetBSD and FreeBSD; it
+should work on other flavors of BSD, WSL on Windows, etc. with only minor
+modifications.
 
 ## What else can it do?
 
diff --git a/src/Makefile b/src/Makefile
index 8843669..65dea6d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -85,7 +85,9 @@ ansi:
 	$(MAKE) all MYCFLAGS=-DLUA_ANSI
 
 freebsd:
-	$(MAKE) all MYCFLAGS="-DLUA_USE_LINUX" MYLIBS="-Wl,-E"
+	$(MAKE) -C luasocket bsd
+	$(MAKE) -C luasec bsd
+	$(MAKE) all MYCFLAGS="-DLUA_USE_LINUX" MYLIBS="-Wl,-E -lncursesw"
 
 generic:
 	$(MAKE) all MYCFLAGS=