mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
mysql8: In more recent mysql8 releases, some of the cmake files have are hard coded to the homebrew install locations. This commit resolves the issues when using the macports openssl / libcrypto packages. This commit also resolved issues where mysql_config produced the incorrect path for the installed mysql support libraries. p5-dbd-mysql: This commit additionally updates p5-dbd-mysql to 5.006 Closes: https://trac.macports.org/ticket/70001
59 lines
2.6 KiB
Diff
59 lines
2.6 KiB
Diff
--- a/cmake/install_layout.cmake 2020-10-21 03:45:23.000000000 -0400
|
|
+++ b/cmake/install_layout.cmake 2020-10-21 03:48:50.000000000 -0400
|
|
@@ -80,7 +80,7 @@
|
|
ENDIF()
|
|
|
|
SET(INSTALL_LAYOUT "${DEFAULT_INSTALL_LAYOUT}"
|
|
- CACHE STRING "Installation directory layout. Options are: TARGZ (as in tar.gz installer), STANDALONE, RPM, DEB, SVR4"
|
|
+ CACHE STRING "Installation directory layout. Options are: TARGZ (as in tar.gz installer), STANDALONE, RPM, DEB, SVR4, MACPORTS"
|
|
)
|
|
|
|
IF(UNIX)
|
|
@@ -98,7 +98,7 @@
|
|
CACHE PATH "install prefix" FORCE)
|
|
ENDIF()
|
|
SET(VALID_INSTALL_LAYOUTS
|
|
- "RPM" "DEB" "SVR4" "TARGZ" "STANDALONE")
|
|
+ "RPM" "DEB" "SVR4" "TARGZ" "STANDALONE" "MACPORTS")
|
|
LIST(FIND VALID_INSTALL_LAYOUTS "${INSTALL_LAYOUT}" ind)
|
|
IF(ind EQUAL -1)
|
|
MESSAGE(FATAL_ERROR "Invalid INSTALL_LAYOUT parameter:${INSTALL_LAYOUT}."
|
|
@@ -233,6 +233,37 @@
|
|
SET(INSTALL_SECURE_FILE_PRIVDIR_RPM ${secure_file_priv_path})
|
|
|
|
#
|
|
+# MACPORTS layout
|
|
+#
|
|
+SET(INSTALL_BINDIR_MACPORTS "lib/@NAME@/bin")
|
|
+SET(INSTALL_SBINDIR_MACPORTS "lib/@NAME@/bin")
|
|
+SET(INSTALL_SCRIPTDIR_MACPORTS "lib/@NAME@/bin")
|
|
+#
|
|
+SET(INSTALL_LIBDIR_MACPORTS "lib/@NAME@/mysql")
|
|
+SET(INSTALL_PRIV_LIBDIR_MACPORTS "lib/@NAME@/mysql")
|
|
+SET(INSTALL_PLUGINDIR_MACPORTS "lib/@NAME@/plugin")
|
|
+#
|
|
+SET(INSTALL_INCLUDEDIR_MACPORTS "include/@NAME@/mysql")
|
|
+#
|
|
+SET(INSTALL_DOCDIR_MACPORTS "share/doc/@NAME@")
|
|
+SET(INSTALL_DOCREADMEDIR_MACPORTS "share/doc/@NAME@")
|
|
+SET(INSTALL_MANDIR_MACPORTS "share/man/@NAME@")
|
|
+SET(INSTALL_INFODIR_MACPORTS "share/doc/@NAME@")
|
|
+#
|
|
+SET(INSTALL_SHAREDIR_MACPORTS "share/@NAME@")
|
|
+SET(INSTALL_MYSQLSHAREDIR_MACPORTS "share/@NAME@")
|
|
+SET(INSTALL_MYSQLTESTDIR_MACPORTS "share/@NAME@/mysql-test")
|
|
+SET(INSTALL_SQLBENCHDIR_MACPORTS "share/@NAME@")
|
|
+SET(INSTALL_SUPPORTFILESDIR_MACPORTS "share/@NAME@/support-files")
|
|
+#
|
|
+SET(INSTALL_MYSQLDATADIR_MACPORTS "${CMAKE_INSTALL_PREFIX}/var/db/@NAME@")
|
|
+SET(INSTALL_MYSQLKEYRINGDIR_MACPORTS "${CMAKE_INSTALL_PREFIX}/var/db/@NAME@-keyring")
|
|
+SET(INSTALL_SECURE_FILE_PRIVDIR_MACPORTS "${CMAKE_INSTALL_PREFIX}/var/db/@NAME@-files")
|
|
+SET(INSTALL_SECURE_FILE_PRIV_EMBEDDEDDIR_MACPORTS "${CMAKE_INSTALL_PREFIX}/var/db/@NAME@-files")
|
|
+SET(INSTALL_PLUGINTESTDIR_MACPORTS ${plugin_tests})
|
|
+
|
|
+
|
|
+#
|
|
# DEB layout
|
|
#
|
|
SET(INSTALL_BINDIR_DEB "bin")
|