--- boost/tr1/detail/config.hpp.orig 2010-06-12 04:30:03.000000000 -0500 +++ boost/tr1/detail/config.hpp 2013-07-30 14:26:57.000000000 -0500 @@ -9,6 +9,7 @@ #include #if (defined(__GNUC__) && !(defined(linux) || defined(__linux) || defined(__linux__))) \ + || (!defined(__FreeBSD__)) \ || (!defined(_AIX) && defined(__IBMCPP__) && (__IBMCPP__ >= 800)) // Disable use of #include_next on Linux as typically we are installed in a // directory that is searched *after* the std lib include path. --- boost/tr1/detail/config_all.hpp.orig 2011-07-25 04:28:58.000000000 -0500 +++ boost/tr1/detail/config_all.hpp 2013-07-30 15:31:10.000000000 -0500 @@ -85,6 +85,8 @@ # elif defined(__GNUC__) && __GNUC__ >= 3 # if defined(BOOST_TR1_GCC_INCLUDE_PATH) # define BOOST_TR1_STD_HEADER(name) <../BOOST_TR1_GCC_INCLUDE_PATH/name> +# elif (defined(__FreeBSD__)) +# define BOOST_TR1_STD_HEADER(name) <../__GNUC__.__GNUC_MINOR__/name> # elif ( (__GNUC__ == 3 ) && ((__GNUC_MINOR__ == 0) || ((__GNUC_MINOR__ < 3) && defined(__APPLE_CC__)))) # define BOOST_TR1_STD_HEADER(name) <../g++-v3/name> # else @@ -107,7 +109,7 @@ # endif # if !defined(BOOST_TR1_DISABLE_INCLUDE_NEXT) && !defined(__ICC) \ - && (defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)) + && (defined(__FreeBSD__) || defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)) // Disable use of #include_next on Linux as typically we are installed in a directory that is searched // *after* the std lib include path: # define BOOST_TR1_DISABLE_INCLUDE_NEXT