diff options
Diffstat (limited to 'databases/mysql57-client')
-rw-r--r-- | databases/mysql57-client/files/patch-cmake_os_FreeBSD.cmake | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/databases/mysql57-client/files/patch-cmake_os_FreeBSD.cmake b/databases/mysql57-client/files/patch-cmake_os_FreeBSD.cmake index 64b809e3bd45..e2f70f193360 100644 --- a/databases/mysql57-client/files/patch-cmake_os_FreeBSD.cmake +++ b/databases/mysql57-client/files/patch-cmake_os_FreeBSD.cmake @@ -1,9 +1,11 @@ --- cmake/os/FreeBSD.cmake.orig 2018-10-04 05:48:22 UTC +++ cmake/os/FreeBSD.cmake -@@ -30,6 +30,20 @@ IF(NOT FORCE_UNSUPPORTED_COMPILER) +@@ -30,12 +30,26 @@ IF(NOT FORCE_UNSUPPORTED_COMPILER) IF(NOT HAVE_SUPPORTED_CLANG_VERSION) MESSAGE(FATAL_ERROR "Clang 3.3 or newer is required!") ENDIF() +- ELSE() +- MESSAGE(FATAL_ERROR "Unsupported compiler!") + CHECK_C_SOURCE_RUNS(" + int main() + { @@ -18,10 +20,9 @@ + IF(GCC_VERSION VERSION_LESS 4.4) + MESSAGE(FATAL_ERROR "GCC 4.4 or newer is required!") + ENDIF() - ELSE() - MESSAGE(FATAL_ERROR "Unsupported compiler!") ENDIF() -@@ -38,4 +52,6 @@ ENDIF() + ENDIF() + # Should not be needed any more, but kept for easy resurrection if needed # #Legacy option, maybe not needed anymore , taken as is from autotools build # ADD_DEFINITIONS(-DNET_RETRY_COUNT=1000000) |