Index: head/math/pdal/files/patch-src_PluginManager.cpp =================================================================== --- head/math/pdal/files/patch-src_PluginManager.cpp (revision 412747) +++ head/math/pdal/files/patch-src_PluginManager.cpp (revision 412748) @@ -1,11 +1,11 @@ --- src/PluginManager.cpp.orig 2015-11-25 18:45:33 UTC +++ src/PluginManager.cpp @@ -58,7 +58,7 @@ namespace { #if defined(__APPLE__) && defined(__MACH__) const std::string dynamicLibraryExtension(".dylib"); -#elif defined __linux__ -+#elif defined __linux__ || __FreeBSD__ ++#elif defined __linux__ || defined __FreeBSD__ || defined __DragonFly__ const std::string dynamicLibraryExtension(".so"); #elif defined _WIN32 const std::string dynamicLibraryExtension(".dll"); Index: head/math/pdal/files/patch-vendor_gtest-1.7.0_include_gtest_internal_gtest-port.h =================================================================== --- head/math/pdal/files/patch-vendor_gtest-1.7.0_include_gtest_internal_gtest-port.h (revision 412747) +++ head/math/pdal/files/patch-vendor_gtest-1.7.0_include_gtest_internal_gtest-port.h (revision 412748) @@ -1,28 +1,28 @@ --- vendor/gtest-1.7.0/include/gtest/internal/gtest-port.h.orig 2016-03-24 21:27:13 UTC +++ vendor/gtest-1.7.0/include/gtest/internal/gtest-port.h @@ -92,6 +92,7 @@ // the given platform; otherwise undefined): // GTEST_OS_AIX - IBM AIX // GTEST_OS_CYGWIN - Cygwin +// GTEST_OS_FREEBSD - FreeBSD // GTEST_OS_HPUX - HP-UX // GTEST_OS_LINUX - Linux // GTEST_OS_LINUX_ANDROID - Google Android @@ -267,6 +268,8 @@ # define GTEST_OS_OPENBSD 1 #elif defined __QNX__ # define GTEST_OS_QNX 1 -+#elif defined __FreeBSD__ ++#elif defined __FreeBSD__ || defined __DragonFly__ +# define GTEST_OS_FREEBSD 1 #endif // __CYGWIN__ #ifndef GTEST_LANG_CXX11 @@ -646,7 +649,7 @@ using ::std::tuple_size; (GTEST_OS_MAC && !GTEST_OS_IOS) || GTEST_OS_IOS_SIMULATOR || \ (GTEST_OS_WINDOWS_DESKTOP && _MSC_VER >= 1400) || \ GTEST_OS_WINDOWS_MINGW || GTEST_OS_AIX || GTEST_OS_HPUX || \ - GTEST_OS_OPENBSD || GTEST_OS_QNX) + GTEST_OS_OPENBSD || GTEST_OS_QNX || GTEST_OS_FREEBSD) # define GTEST_HAS_DEATH_TEST 1 # include // NOLINT #endif