Installing Firefox v55.00 from source ports results in:
The installed sqlite3 was 3.20.0 and the options included FTS3_TOKEN and FTS4. I even tried adding the pesky SQLITE_ENABLE_FTS3 option to the Makefile, recompiling and reinstalling without any better result.
In the end, I uninstalled sqlite3 3.20.0 and used
Code:
DEBUG: return !sqlite3_compileoption_used("SQLITE_ENABLE_FTS3");
DEBUG: }
DEBUG: configure: error: System SQLite library is not compiled with SQLITE_ENABLE_FTS3.
ERROR: old-configure failed
The installed sqlite3 was 3.20.0 and the options included FTS3_TOKEN and FTS4. I even tried adding the pesky SQLITE_ENABLE_FTS3 option to the Makefile, recompiling and reinstalling without any better result.
In the end, I uninstalled sqlite3 3.20.0 and used
pkg install sqlite3
to install a binary package which turned out to be v3.19.3_1. This worked and allowed me to build and install Firefox v55.0.