2016-02-03 11:49:50 +00:00
|
|
|
--- mariadb-10.1.11.orig/scripts/CMakeLists.txt 2016-01-28 13:12:51.000000000 +0100
|
|
|
|
+++ mariadb-10.1.11/scripts/CMakeLists.txt 2016-02-03 12:46:26.306109293 +0100
|
2017-07-13 14:48:22 +00:00
|
|
|
@@ -320,6 +320,33 @@ ELSE()
|
2014-07-21 15:02:00 +00:00
|
|
|
COMPONENT ${${file}_COMPONENT}
|
|
|
|
)
|
|
|
|
ENDFOREACH()
|
|
|
|
+
|
|
|
|
+ # files for systemd
|
|
|
|
+ SET(SYSTEMD_SCRIPTS
|
2014-07-24 08:00:33 +00:00
|
|
|
+ mysql.tmpfiles.d
|
|
|
|
+ mysql.service
|
2016-02-08 05:56:32 +00:00
|
|
|
+ mysql@.service
|
2014-07-24 08:00:33 +00:00
|
|
|
+ mysql-prepare-db-dir
|
|
|
|
+ mysql-check-socket
|
2014-09-29 12:34:41 +00:00
|
|
|
+ mysql-check-upgrade
|
2014-07-24 08:00:33 +00:00
|
|
|
+ mysql-scripts-common
|
2014-07-21 15:02:00 +00:00
|
|
|
+ mysql_config_multilib
|
2016-03-22 14:30:08 +00:00
|
|
|
+ clustercheck
|
2014-07-23 13:26:28 +00:00
|
|
|
+ mysql.init
|
2014-07-25 07:00:44 +00:00
|
|
|
+ my.cnf
|
2014-07-21 15:02:00 +00:00
|
|
|
+ )
|
|
|
|
+ FOREACH(file ${SYSTEMD_SCRIPTS})
|
|
|
|
+ IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${file}.sh)
|
|
|
|
+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${file}.sh
|
|
|
|
+ ${CMAKE_CURRENT_BINARY_DIR}/${file} ESCAPE_QUOTES @ONLY)
|
|
|
|
+ ELSEIF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${file}.in)
|
|
|
|
+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${file}.in
|
|
|
|
+ ${CMAKE_CURRENT_BINARY_DIR}/${file} ESCAPE_QUOTES @ONLY)
|
|
|
|
+ ELSE()
|
|
|
|
+ MESSAGE(FATAL_ERROR "Can not find ${file}.sh or ${file}.in in "
|
|
|
|
+ "${CMAKE_CURRENT_SOURCE_DIR}" )
|
|
|
|
+ ENDIF()
|
|
|
|
+ ENDFOREACH()
|
|
|
|
ENDIF()
|
|
|
|
|
2017-05-24 09:25:52 +00:00
|
|
|
# Install libgcc as mylibgcc.a
|
|
|
|
|