Files
mathgl/mathgl-doc-path.patch
Atri Bhattacharya 9fc6f82fed Accepting request 1004956 from home:badshah400:branches:science
* Add mathgl-libharu2_4-compat.patch: Fix compilation against libharu 2.4.x [https://sourceforge.net/p/mathgl/bugs/48/].
* Build against wxWidgets >= 3.1 (wxGTK3) instead of wxWidgets=3.0.

OBS-URL: https://build.opensuse.org/request/show/1004956
OBS-URL: https://build.opensuse.org/package/show/science/mathgl?expand=0&rev=113
2022-09-21 08:17:40 +00:00

14 lines
663 B
Diff

Index: mathgl-8.0.1/CMakeLists.txt
===================================================================
--- mathgl-8.0.1.orig/CMakeLists.txt
+++ mathgl-8.0.1/CMakeLists.txt
@@ -296,7 +296,7 @@ set(MGL_DEF_FONT "STIX" CACHE STRING "Se
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")