Created attachment 145945 [details] patch to unbreak net/nmsg build on FreeBSD 8.x amd64 net/nmsg fails to build on amd64 machines running FreeBSD 8.x because the version of binutils in base in FreeBSD 8 does not understand the crc32 instructions that this code uses on amd64. Only in this particular corner case, set USE_GCC=yes as a big club to get the ports version of gcc, which will use a more capable version of binutils from ports.
technically it needs to check ${OPSYS} == FreeBSD whenever ${OSVERSION} is used. In this case, it won't hurt dragonfly because the value is never less than 900000.
Is 8.x still supported? IIRC 8.x support has been officially dropped some time ago, no?
8.4 is still supported.
A commit references this bug: Author: wg Date: Mon Aug 18 14:28:36 UTC 2014 New revision: 365313 URL: http://svnweb.freebsd.org/changeset/ports/365313 Log: net/nmsg: fix build for FreeBSD 8.x PR: 192771 Submitted by: maintainer Changes: head/net/nmsg/Makefile