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