summaryrefslogtreecommitdiff
path: root/databases/mariadb103-server/files/patch-include_CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mariadb103-server/files/patch-include_CMakeLists.txt')
-rw-r--r--databases/mariadb103-server/files/patch-include_CMakeLists.txt38
1 files changed, 38 insertions, 0 deletions
diff --git a/databases/mariadb103-server/files/patch-include_CMakeLists.txt b/databases/mariadb103-server/files/patch-include_CMakeLists.txt
new file mode 100644
index 000000000000..aaa3ab9b47d0
--- /dev/null
+++ b/databases/mariadb103-server/files/patch-include_CMakeLists.txt
@@ -0,0 +1,38 @@
+--- include/CMakeLists.txt.orig 2017-08-17 10:05:38 UTC
++++ include/CMakeLists.txt
+@@ -1,5 +1,5 @@
+ # Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
+-#
++#
+ # This program is free software; you can redistribute it and/or modify
+ # it under the terms of the GNU General Public License as published by
+ # the Free Software Foundation; version 2 of the License.
+@@ -68,6 +68,7 @@ SET(HEADERS
+ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mysqld_error.h
+ DESTINATION ${INSTALL_INCLUDEDIR} COMPONENT Development)
+
++IF(FALSE)
+ INSTALL(FILES ${HEADERS}
+ DESTINATION ${INSTALL_INCLUDEDIR}/server COMPONENT Development)
+ FOREACH(f ${HEADERS_GEN_CONFIGURE})
+@@ -75,17 +76,20 @@ FOREACH(f ${HEADERS_GEN_CONFIGURE})
+ DESTINATION ${INSTALL_INCLUDEDIR}/server COMPONENT Development)
+ ENDFOREACH(f)
+ INSTALL(DIRECTORY mysql/ DESTINATION ${INSTALL_INCLUDEDIR}/server/mysql COMPONENT Development FILES_MATCHING PATTERN "*.h")
++ENDIF()
+
+ STRING(REPLACE "." "\\." EXCL_RE "${HEADERS};${HEADERS_GEN_CONFIGURE}")
+ STRING(REPLACE ";" "|" EXCL_RE "${EXCL_RE}")
+
+ MACRO(INSTALL_PRIVATE DIR)
++IF(FALSE)
+ INSTALL(DIRECTORY ${DIR}/.
+ DESTINATION ${INSTALL_INCLUDEDIR}/server/private COMPONENT Development
+ FILES_MATCHING PATTERN "*.h"
+ PATTERN CMakeFiles EXCLUDE
+ PATTERN mysql EXCLUDE
+ REGEX "\\./(${EXCL_RE}$)" EXCLUDE)
++ENDIF()
+ ENDMACRO()
+
+ INSTALL_PRIVATE(${CMAKE_CURRENT_BINARY_DIR})