File mathgl-doc-path.patch of Package mathgl

Index: mathgl-2.1/CMakeLists.txt
===================================================================
--- mathgl-2.1.orig/CMakeLists.txt
+++ mathgl-2.1/CMakeLists.txt
@@ -366,7 +366,7 @@ endif(WIN32)
 
 if(NOT WIN32)
 set(MGL_DATA_PATH "${CMAKE_INSTALL_PREFIX}/share/mathgl")
-set(MGL_DOC_PATH "${CMAKE_INSTALL_PREFIX}/share/doc/mathgl")
+set(MGL_DOC_PATH "${CMAKE_INSTALL_PREFIX}/share/doc/packages/mathgl")
 set(MGL_MAN_PATH "${CMAKE_INSTALL_PREFIX}/share/man")
 set(MGL_INFO_PATH "${CMAKE_INSTALL_PREFIX}/share/info")
 set(MGL_FONT_PATH "${MGL_DATA_PATH}/fonts")
openSUSE Build Service is sponsored by