Had to do this for #7320 and would like to share my setup (Vagrantfile) so others won’t have to set up everything from scratch:
Vagrant.configure("2") do |config|
config.vm.box = "bento/freebsd-10.3"
#config.vm.network "private_network", type: "dhcp"
#config.vm.synced_folder ".", "/vagrant"
config.vm.provision "shell", inline: <<-SHELL
sudo pkg install -y bison boost-all cmake git mysql57-client postgresql96-client
SHELL
end