Port changes: * Change to the repo that is current * Change to cmake * Update/add patches required to build on FreeBSD