% brew install boost cmake gcc libpcap pkg-config ragel sqlite
```
-### NetBSD
+### *BSD
In NetBSD you will almost certainly need to have a newer compiler installed.
Using the example of gcc12 from pkgsrc, one will need to set three
environment variables before starting:
export CXX="/usr/pkg/gcc12/bin/g++"
export CXXFLAGS="-gdwarf-4"
+In FreeBSD similarly, using gcc12 from pkg
+export CC=/usr/local/bin/gcc
+export CXX=/usr/local/bin/g++
+export CXXFLAGS="-gdwarf-4"
+
+
Then continue with the build as below.