diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-01-26 09:35:22 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-01-26 09:36:06 -0800 |
commit | b493ed32b81ea9bbb880e5d50026082ac44ecfb8 (patch) | |
tree | f8b367d3a8a94570772f2b7a5381cad02b5ec648 | |
parent | cbe85a18c7e433e1d937eba7e994329e4d81e9cc (diff) | |
download | teliva-b493ed32b81ea9bbb880e5d50026082ac44ecfb8.tar.gz |
get Teliva working on FreeBSD
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | src/Makefile | 4 |
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= |