Index: head/databases/soci/files/patch-cmake_modules_FindMySQL.cmake =================================================================== --- head/databases/soci/files/patch-cmake_modules_FindMySQL.cmake (nonexistent) +++ head/databases/soci/files/patch-cmake_modules_FindMySQL.cmake (revision 466798) @@ -0,0 +1,14 @@ +Prevent CMAKE_REQUIRED_LIBRARIES from leaking out of this module. +If the embedded libs are not found, we don't want to have the +not-found libraries required by other modules. + +--- cmake/modules/FindMySQL.cmake.orig 2013-08-21 22:40:11 UTC ++++ cmake/modules/FindMySQL.cmake +@@ -119,6 +119,7 @@ endif(MYSQL_EMBEDDED_LIBRARIES) + set( CMAKE_REQUIRED_INCLUDES ${MYSQL_INCLUDE_DIR} ) + set( CMAKE_REQUIRED_LIBRARIES ${MYSQL_EMBEDDED_LIBRARIES} ) + check_cxx_source_compiles( "#include \nint main() { int i = MYSQL_OPT_USE_EMBEDDED_CONNECTION; }" HAVE_MYSQL_OPT_EMBEDDED_CONNECTION ) ++unset( CMAKE_REQUIRED_LIBRARIES ) + + if(MYSQL_INCLUDE_DIR AND MYSQL_LIBRARIES) + set(MYSQL_FOUND TRUE) Property changes on: head/databases/soci/files/patch-cmake_modules_FindMySQL.cmake ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property