Skip to content

Commit

Permalink
math/wxmaxima: Make WxMaxima find its own documentation
Browse files Browse the repository at this point in the history
Fix the resources directory, so that WxMaxima actually finds its own
documentation (if installed).
  • Loading branch information
lsalvadore committed Feb 24, 2023
1 parent 2bedf96 commit 62bf703
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions math/wxmaxima/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
PORTNAME= wxmaxima
PORTVERSION= 23.02.0
DISTVERSIONPREFIX= Version-
PORTREVISION= 1
CATEGORIES= math

MAINTAINER= salvadore@FreeBSD.org
Expand Down
10 changes: 10 additions & 0 deletions math/wxmaxima/files/patch-src_Dirstructure.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- 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;
}

0 comments on commit 62bf703

Please sign in to comment.