git: e75ad72a3ca9 - main - databases/mysql-connector-c: fix configure against CMake 3.20
Adriaan de Groot
adridg at FreeBSD.org
Thu Apr 22 20:25:05 UTC 2021
The branch main has been updated by adridg:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e75ad72a3ca92b6ca0c71ddee75fa1e0bc578582
commit e75ad72a3ca92b6ca0c71ddee75fa1e0bc578582
Author: Adriaan de Groot <adridg at FreeBSD.org>
AuthorDate: 2021-04-22 20:16:12 +0000
Commit: Adriaan de Groot <adridg at FreeBSD.org>
CommitDate: 2021-04-22 20:21:05 +0000
databases/mysql-connector-c: fix configure against CMake 3.20
The CMake module code swapped an endif() and an endforeach(),
which was never an error before.
---
databases/mysql-connector-c/Makefile | 1 +
.../files/patch-cmake_install__macros.cmake | 13 +++++++++++++
2 files changed, 14 insertions(+)
diff --git a/databases/mysql-connector-c/Makefile b/databases/mysql-connector-c/Makefile
index eb07edd25e58..f14f7a7249cf 100644
--- a/databases/mysql-connector-c/Makefile
+++ b/databases/mysql-connector-c/Makefile
@@ -2,6 +2,7 @@
PORTNAME= mysql-connector-c
PORTVERSION= 6.1.11
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= MYSQL/Connector-C
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
diff --git a/databases/mysql-connector-c/files/patch-cmake_install__macros.cmake b/databases/mysql-connector-c/files/patch-cmake_install__macros.cmake
new file mode 100644
index 000000000000..4debda0bd44e
--- /dev/null
+++ b/databases/mysql-connector-c/files/patch-cmake_install__macros.cmake
@@ -0,0 +1,13 @@
+--- cmake/install_macros.cmake.orig 2021-04-22 20:14:44 UTC
++++ cmake/install_macros.cmake
+@@ -362,8 +362,8 @@ FUNCTION(INSTALL_DEBUG_TARGET target)
+ CONFIGURATIONS Release RelWithDebInfo
+ COMPONENT ${ARG_COMPONENT}
+ OPTIONAL)
+- ENDIF()
+- ENDFOREACH()
++ ENDFOREACH()
++ ENDIF()
+
+ ENDFUNCTION()
+
More information about the dev-commits-ports-all
mailing list