Archive for June, 2014
As you’ll likely have found the ports tree is now incompatible with FreeBSD before 8.4 so if you haven’t migrated off earlier versions e.g. 8.3 (which is now EOL) then the latest ports tree will no longer compile due to missing features in make and a missing native unzip.
The following will get it all working again.
First update make with a copy from 8.4 (this assumes your running amd64:
fetch ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-amd64/8.4/FreeBSD-8.4-RELEASE-amd64-livefs.iso mdconfig -f FreeBSD-8.4-RELEASE-amd64-livefs.iso mount_cd9660 /dev/md0 /mnt cp -p /usr/bin/make /usr/bin/make.bak cp /mnt/usr/bin/make /usr/bin/make umount /mnt mdconfig -d -u 0
Next install unzip, its actually in the 8.3 source but was never installed due to a missing line in /usr/src/usr.bin/Makefile
cd /usr/src/usr.bin/unzip make && make install
Now you’ll be good to update your ports tree and compile 🙂