mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 23:20:30 -04:00
Fix the resources directory, so that WxMaxima actually finds its own documentation (if installed).
10 lines
282 B
C++
10 lines
282 B
C++
--- src/Dirstructure.cpp.orig 2023-02-19 14:20:34 UTC
|
|
+++ src/Dirstructure.cpp
|
|
@@ -120,6 +120,7 @@ wxString Dirstructure::ResourcesDir() const {
|
|
exepath = exe.GetPath();
|
|
} else {
|
|
exepath = CMAKE_INSTALL_PREFIX;
|
|
+ exepath.Append("/share");
|
|
}
|
|
return exepath;
|
|
}
|