mirror of
https://git.freebsd.org/ports.git
synced 2025-06-13 16:50:29 -04:00
All of the MariaDB releases contain the same ConnectorName CMake module, and all of those copies of the module contain the same syntax error. CMake < 3.20 ignores this and treats end() as endif(), but this is an error in the upcoming version. Specifically NOT bumping PORTREVISION because this is a build-only fix that has no effect on the package.
11 lines
355 B
CMake
11 lines
355 B
CMake
--- cmake/ConnectorName.cmake.orig 2021-04-02 09:49:25 UTC
|
|
+++ cmake/ConnectorName.cmake
|
|
@@ -22,7 +22,7 @@ IF(CMAKE_SYSTEM_NAME MATCHES "Windows")
|
|
SET(MACHINE_NAME "x64")
|
|
ELSE()
|
|
SET(MACHINE_NAME "32")
|
|
- END()
|
|
+ ENDIF()
|
|
ENDIF()
|
|
|
|
SET(product_name "mysql-connector-c-${CPACK_PACKAGE_VERSION}-${PLATFORM_NAME}${CONCAT_SIGN}${MACHINE_NAME}")
|