--- wshare/Makefile.FreeBSD.orig 2012-12-11 18:00:13.000000000 +0100 +++ wshare/Makefile.FreeBSD 2012-12-11 18:00:32.000000000 +0100 @@ -12,10 +12,10 @@ # Makefile for FreeBSD, called from ../Makefile # -CXX = g++ +#CXX = g++ -OS_CXXOPTS = -Wall -pthread -# OS_LDLIBS = -lc_r +OS_CXXOPTS = -Wall +OS_LDLIBS = -pthread include Makefile.common