6 - autotools + pkgconf (for builds from svn/git)
7 pkg install autotools pkgconf
8 - pkgconf might be needed to find libs in build from tarball too:
10 - building with cmake + ninja instead of autotools:
11 pkg install cmake ninja
12 - libev (cross-platform event loop library) if freebsd-kqueue from lighty isn't working
14 - stack traces on asserts:
16 - PCRE (mod_rewrite, mod_redirect, config conditionals, ...)
18 - TLS support (and mod_auth {SHA1} support)
20 or (mysql-connector-c still requires openssl)
24 - MySQL for mod_mysql_vhost
25 pkg install mysql-connector-c
26 - File and directory monitoring
30 - Lua 5.1, 5.2 or 5.3 (mod_magnet and mod_cml)
31 pkg install lua51 (or lua52 or lua53)
32 - memcached library (mod_cml and mod_trigger_b4_dl feature)
33 pkg install libmemcached
34 - gdbm (mod_trigger_b4_dl feature)
36 - LDAP (mod_auth feature)
37 pkg install openldap-client
38 - SQLite3 (required for most mod_webdav features)
40 - XML (mod_webdav properties and locking)
42 - UUID library (mod_webdav locking)
43 pkg install e2fsprogs-libuuid
47 To help autotools find libraries and headers:
48 CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure ...
50 With ssl the compiler might warn about OPENSSL_NO_KRB5 redefinitions, just
51 configure "--with-kerberos5" for now.