Compile fails on Yosemite
MacPorts is setup with all dependencies mentioned in COMPILING, X11 has been replaced by XQuartz (no way to get X11 back AFAIK)... The folders /usr/X11R6/include and /usr/X11R6/lib no longer exist (looks like their alternatives are in /opt/X11, but compile still failed).
Error (unistd.h appears to be the required file, which exists in /usr/include and /usr/include/sys):
In file included from contrib/bobtoolz/misc.h:25: libs/str.h:432:1: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] const char GetAt( std::size_t nIndex ) { return m_pStr[nIndex]; } ^~~~~~ libs/str.h:257:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] g_pStrWork = ""; ^ libs/str.h:293:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] g_pStrWork = ""; ^ contrib/bobtoolz/misc.cpp:132:22: warning: comparison of integers of different signs: 'int' and 'std::size_t' (aka 'unsigned long') [-Wsign-compare] for ( int i = 0 ; i < l ; i++ ) ~ ^ ~ contrib/bobtoolz/misc.cpp:188:11: error: use of undeclared identifier 'fork' switch ( fork() ) ^ 4 warnings and 1 error generated. make: *** [contrib/bobtoolz/misc.o] Error 1