File mathgl-doc-path.patch of Package mathgl

Index: mathgl-2.1.3/CMakeLists.txt
===================================================================
--- mathgl-2.1.3.orig/CMakeLists.txt
+++ mathgl-2.1.3/CMakeLists.txt
@@ -92,7 +92,7 @@ set(MGL_CGI_PATH "${CMAKE_INSTALL_PREFIX
 if(NOT WIN32)
 #	set(MGL_CGI_PATH "${CMAKE_INSTALL_PREFIX}/share/mathgl")
 	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