[MacPorts] #64115: mysql8-8.0.27 won't build due to missing {{FIPS_}} function definitions
MacPorts
noreply at macports.org
Thu Dec 30 02:00:39 UTC 2021
#64115: mysql8-8.0.27 won't build due to missing {{FIPS_}} function definitions
---------------------+-------------------------
Reporter: posita | Owner: herbygillot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: mysql8 |
---------------------+-------------------------
Comment (by chrstphrchvz):
Replying to [comment:7 kencu]:
> cmake gives you some ability to manipulate the order of includes.
>
> <https://cmake.org/cmake/help/latest/command/include_directories.html>
>
> finding a way to make the needed openssl includes come before the other
includes is likely possible.
>
>
> for example:
>
> {{{include_directories(BEFORE PATH_TO_NEEDED_OPENSSL11_INCLUDES)}}}
I had tried this with the following patch:
{{{#!diff
diff --git a/cmake/ssl.cmake b/cmake/ssl.cmake
index 293281cf1..6655f5b3b 100644
--- a/cmake/ssl.cmake
+++ b/cmake/ssl.cmake
@@ -313,7 +313,7 @@ MACRO (MYSQL_CHECK_SSL)
SET(SSL_LIBRARIES ${SSL_LIBRARIES} ${LIBDL})
ENDIF()
MESSAGE(STATUS "SSL_LIBRARIES = ${SSL_LIBRARIES}")
- INCLUDE_DIRECTORIES(SYSTEM ${OPENSSL_INCLUDE_DIR})
+ INCLUDE_DIRECTORIES(BEFORE SYSTEM ${OPENSSL_INCLUDE_DIR})
ELSE()
RESET_SSL_VARIABLES()
FATAL_SSL_NOT_FOUND_ERROR(
}}}
This made no difference to the ` C_INCLUDES`/`CXX_INCLUDES` variables in
flags.make files.
--
Ticket URL: <https://trac.macports.org/ticket/64115#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list