The SMDS memory check cause the build to fail on on BSD-systems. It would be better to disable it only on BSD-platforms, or use http://code.google.com/p/sysinfo-bsd/source/browse/sysinfo.c for them. This fixes Debian bug https://bugs.debian.org/623560 . Patch by Anton Gladky <gladk@debian.org>. Been part of the Debian edition of FreeCAD since 2011.