[MacPorts] #66914: wxMaxima (please update that program!)

MacPorts noreply at macports.org
Wed Feb 22 14:15:32 UTC 2023


#66914: wxMaxima (please update that program!)
--------------------------------+--------------------------
  Reporter:  gunterkoenigsmann  |      Owner:  MSoegtropIMC
      Type:  update             |     Status:  assigned
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:
Resolution:                     |   Keywords:
      Port:  wxMaxima           |
--------------------------------+--------------------------

Comment (by MSoegtropIMC):

 It does compile now and start (didn't test much as yet) but I get an error
 dialog stating that maxima was not found as /Applications/maxima or
 /Applications/Maxima. A while back I introduced the defines
 OSX_MACPORTS_PREFIX and OSX_MACPORTS_PREFER, which are patched by the port
 file to the proper values. If OSX_MACPORTS_PREFER is 1, one can assume
 that maxima is found under OSX_MACPORTS_PREFIX "/bin/maxima" and that this
 is the preferred location. So in

 #if OSX_MACPORTS_PREFER
   wxLogMessage(notFound, maximaLocation.mb_str());
   maximaLocation = OSX_MACPORTS_PREFIX "/bin/maxima";
   if (wxFileExists(maximaLocation))
     return maximaLocation;
 #endif

 the wxLogMessage does not make sense - at least not before one checked if
 maxima is there.

-- 
Ticket URL: <https://trac.macports.org/ticket/66914#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list