60bf3d
# Fixing conflict with groonga package
60bf3d
# https://bugzilla.redhat.com/show_bug.cgi?id=1763287
60bf3d
60bf3d
--- mariadb-10.3.18/storage/mroonga/vendor/groonga/CMakeLists.txt.withoutoption	2019-11-11 14:01:07.762595716 +0100
60bf3d
+++ mariadb-10.3.18/storage/mroonga/vendor/groonga/CMakeLists.txt	2019-11-11 14:33:05.224012458 +0100
60bf3d
@@ -86,7 +86,9 @@
60bf3d
 set(INCLUDE_DIR "include")
60bf3d
 set(GRN_INCLUDE_DIR "include/groonga")
60bf3d
 set(DATA_DIR "share")
60bf3d
-set(GRN_DATA_DIR "${DATA_DIR}/${GRN_PROJECT_NAME}")
60bf3d
+if(NOT DEFINED GRN_DATA_DIR)
60bf3d
+    set(GRN_DATA_DIR "${DATA_DIR}/${GRN_PROJECT_NAME}")
60bf3d
+endif()
60bf3d
 set(CONFIG_DIR "etc")
60bf3d
 set(GRN_CONFIG_DIR "${CONFIG_DIR}/${GRN_PROJECT_NAME}")
60bf3d
 set(GRN_CONFIG_PATH "${CMAKE_INSTALL_PREFIX}/${GRN_CONFIG_DIR}/groonga.conf")
60bf3d
60bf3d
--- mariadb-10.3.18/storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql/CMakeLists.txt.withoutoption	2019-11-11 14:34:22.661005715 +0100
60bf3d
+++ mariadb-10.3.18/storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql/CMakeLists.txt	2019-11-11 14:35:59.962244120 +0100
60bf3d
@@ -16,7 +16,9 @@
60bf3d
 # MA 02110-1335  USA
60bf3d
 
60bf3d
 cmake_minimum_required(VERSION 2.6)
60bf3d
-set(GROONGA_NORMALIZER_MYSQL_PROJECT_NAME "groonga-normalizer-mysql")
60bf3d
+if (NOT DEFINED GROONGA_NORMALIZER_MYSQL_PROJECT_NAME)
60bf3d
+    set(GROONGA_NORMALIZER_MYSQL_PROJECT_NAME "groonga-normalizer-mysql")
60bf3d
+endif()
60bf3d
 project("${GROONGA_NORMALIZER_MYSQL_PROJECT_NAME}")
60bf3d
 
60bf3d
 if(DEFINED GROONGA_NORMALIZER_MYSQL_EMBED)