Here's what worked for me:
Going through my history... here's what I've got. (This is with `bash`, alter accordingly for your favorite shell.) pkg install gmake gcc autoconf automake binutils gsed libtool intltool openssl curl expat libical libiconv icu bash git curl https://easyinstall.citadel.org/db-18.1.40.tar.gz | tar xvzf - cd ./db-18.1.40/build_unix ../dist/configure --prefix=/usr/local --with-cryptography=no --disable-hash --disable-heap --disable-queue --disable-replication --disable-statistics --with-uniquename=_ctdl --enable-static --disable-shared --disable-compat185 --disable-cxx --disable-debug --disable-dump185 --disable-java --disable-tcl --disable-test --without-rpm make make install_lib make install_include make install_utilities (you've got Berkeley DB now) git clone https://code.citadel.org/citadel/citadel.git cd citadel/libcitadel export CFLAGS="-g -I/usr/local/include" export LDFLAGS="-L/usr/local/lib" ./bootstrap ./configure gmake gmake install (you've got libcitadel now) cd ../citadel ./configure --ctdldir=/usr/local/citadel # ignore the error about crypt.h, that was a test gmake gmake install # it seems to install even though it says "inappropriate file type or format" (you've got Citadel Server now) cd ../textclient ./configure gmake gmake install (you've got the text mode client now) cd ../webcit ./bootstrap ./configure --prefix=/usr/local/webcit gmake gmake install (you've got webcit now)
