diff options
author | Lorenzo Salvadore <salvadore@FreeBSD.org> | 2020-06-15 17:07:48 +0000 |
---|---|---|
committer | Lorenzo Salvadore <salvadore@FreeBSD.org> | 2020-06-15 17:07:48 +0000 |
commit | e4ab9fe3e927234b37551f9865a28d1895f79f4c (patch) | |
tree | 388b038218e812b0e3eb9de946f3d1d546f6cafd /math/maxima/files/extra-patch-src_grind.lisp | |
parent | net-p2p/monero-cli: Upgrade from 0.15.0.5 to 0.16.0.0 (diff) |
math/maxima: Add ECL and SAGE options
- Add an ECL option to build maxima using ecl lisp. Option enabled by
default so that Sage can work properly when using packages. [1]
- Add a SAGE option (implies ECL) to apply some patches so that Sage can
work properly. This option is also enabled by default to get working
Sage packages. [1]
- Fix a bug in xmaxima about documentation. This also introduces an
XMAXIMA option (enabled by default) because to have xmaxima working we
need to ensure that DOCS and TEST are enabled, which is done by using
XMAXIMA_IMPLIES. This also has the advantage to remove USES= tk for
users who want to disable XMAXIMA. [2]
- Modify TEST option so that it only installs tests, but it does not run
them any more in the post-build-TEST-on target. Tests can still be run
using "make test".
Submitted by: thierry (based on) [1]
Reported by: thierry [2]
Approved by: thierry, tcberner (co-mentor)
Differential Revision: https://reviews.freebsd.org/D24959
Notes
Notes:
svn path=/head/; revision=538922
Diffstat (limited to 'math/maxima/files/extra-patch-src_grind.lisp')
-rw-r--r-- | math/maxima/files/extra-patch-src_grind.lisp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/math/maxima/files/extra-patch-src_grind.lisp b/math/maxima/files/extra-patch-src_grind.lisp new file mode 100644 index 000000000000..5a3fe68208ba --- /dev/null +++ b/math/maxima/files/extra-patch-src_grind.lisp @@ -0,0 +1,18 @@ +--- src/grind.lisp.orig 2019-10-21 03:38:59 UTC ++++ src/grind.lisp +@@ -297,12 +297,13 @@ + (msz nil l r) + (do ((nl) (w 0)) + ((null (cdr x)) +- (setq nl (cons (if (stringp (car x)) ++;; Patch borrowed from SageMath: undoing_true_false_printing_patch ++ (setq nl (cons (if (atom (car x)) + (msz (makestring (car x)) l r) + (msize (car x) l r lop rop)) + nl)) + (cons (+ w (caar nl)) (nreverse nl))) +- (setq nl (cons (if (stringp (car x)) ++ (setq nl (cons (if (atom (car x)) + (msz (makestring (car x)) l r) + (msize (car x) l r lop rop)) + nl) |