While here, also change most ${REINPLACE_CMD} into patches.
Details
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
@thierry: Please be particularly careful to extra-patch-src_hayat.lisp: a chunk of the original patch you submitted is no more appliable to maxima 5.44.0.
I tested it with ECL-20.4.24 from PR 247283, but pkg-plist is not versioned:
===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: lib/ecl-20.4.24/%%BINNAME%%.fas Error: Orphaned: man/de/man1/%%BINNAME%%.1.gz Error: Orphaned: man/ru/man1/%%BINNAME%%.1.gz ===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: lib/ecl-16.1.3/%%BINNAME%%.fas
I can add this as a fix in my update for ecl if you want.
I guess it's hard to do it here, and easier to do it as part of ecl update?
I guess it's hard to do it here, and easier to do it as part of ecl update?
Sure, please do it. Thanks!
Since we have a symlink for lib/ecl, I guess thet it could simply be registered as %%SAGE%%lib/ecl/maxima.fas
(not tested)
I fixed the issue following thierry's suggestion.
And I also fixed the issue with the man pages.
This is OK for math/sage: it compiles and installs cleanly, and the examples from Maxima (built with ECL) are OK:
┌────────────────────────────────────────────────────────────────────┐ │ SageMath version 9.1, Release Date: 2020-05-20 │ │ Using Python 3.7.7. Type "help()" for help. │ └────────────────────────────────────────────────────────────────────┘ sage: f = maxima.eval('ij_entry[i,j] := i/j') sage: A = maxima('genmatrix(ij_entry,4,4)'); A matrix([1,1/2,1/3,1/4],[2,1,2/3,1/2],[3,3/2,1,3/4],[4,2,4/3,1]) sage: A.determinant() 0 sage: A.echelon() matrix([1,1/2,1/3,1/4],[0,0,0,0],[0,0,0,0],[0,0,0,0]) sage: A.eigenvalues() [[0,4],[3,1]] sage: A.eigenvectors() [[[0,4],[3,1]],[[[1,0,0,-4],[0,1,0,-2],[0,0,1,-4/3]],[[1,2,3,4]]]]
Also I've just attached a patch to chase these updates in
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=215747&action=diff