On Mon, May 29, 2023 at 09:13:09PM -0400, George Koehler wrote: > For the update to maxima 5.46.0, I'm happy with Stuart's diff (from > May 25), after fixing the MODPY_BIN_SUFFIX in PLIST. I rarely use > maxima, but I can run simple commands like "diff(5 * x**2, x);". > > ok gkoehler@ (with the PLIST fix) >
George: Thanks for checking this. I used the ports.tat.gz because that is what the Porters Handbook showed. Can I update the downloaded tarball version using cvs? I suppose I can try. The Maxima-5.47.0 release is due any week now. Look: https://tinyurl.com/5frvanz7 It contains bug fixes. So I would not put a lot of effort into this. In the meantime I can figure out how to down load ports from cvs. Can we have a maxima port similar to Tcl? Wherein there are subdirectories for ECL and SBCL? > https://marc.info/?l=openbsd-ports&m=168501263910495&w=2 has the diff. > After I applied the diff, I edited pkg/PLIST to change > "${MODPY_BIN_SUFFIX}" back to "-2". > > On Thu, 25 May 2023 11:32:44 -0600 > Jonathan Drews <jondr...@fastmail.com> wrote: > > > Stuart and Theo: > > > > I compiled maxima with the Python entries removed and it > > installed and runs ok. Here is the Makefile based on Suarts diff. I > > did retain the references to tcl8.6. > > ... > > MODTCL_VERSION= 8.6 > > ... > > pre-build: > > ${MODTCL_WISH_ADJ} ${WRKSRC}/interfaces/xmaxima/xmaxima > > I didn't need the MODTCL_VERSION line nor the pre-build target, so > I didn't add them to my Makefile. > > If your ports tree is from cvs (https://www.openbsd.org/anoncvs.html) > then you can create a diff like, > > $ cd /usr/ports/math/maxima > $ cvs -q diff > ~/my.diff > > This works if the update doesn't add or remove any files. After the > update to 5.46.0 is in cvs, we will be able to create diffs to > add the sbcl flavor.