summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2021-03-24 17:35:49 -0400
committerMichael Orlitzky <mjo@gentoo.org>2021-03-25 10:35:26 -0400
commit99d068bcd512389b60a972d53c95f22571ed3537 (patch)
treec2d97a731e1d71733a02a44c602dc4e0a0f3921f /sci-mathematics/maxima/files
parentsci-mathematics/maxima: Revert "don't hardcode python" (diff)
downloadgentoo-99d068bcd512389b60a972d53c95f22571ed3537.tar.gz
gentoo-99d068bcd512389b60a972d53c95f22571ed3537.tar.bz2
gentoo-99d068bcd512389b60a972d53c95f22571ed3537.zip
sci-mathematics/maxima: re-enable ECL package.
The ECL package needed for USE=ecls got dropped from the ebuild because the patch it requires no longer applied. We take François Bissey's patch from the sage-on-gentoo overlay and re-enable it. Closes: https://bugs.gentoo.org/732776 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'sci-mathematics/maxima/files')
-rw-r--r--sci-mathematics/maxima/files/ecls-4.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sci-mathematics/maxima/files/ecls-4.patch b/sci-mathematics/maxima/files/ecls-4.patch
new file mode 100644
index 000000000000..7c597c223333
--- /dev/null
+++ b/sci-mathematics/maxima/files/ecls-4.patch
@@ -0,0 +1,16 @@
+diff --git a/src/maxima.system b/src/maxima.system
+index ee7ca0f..85ec36f 100644
+--- a/src/maxima.system
++++ b/src/maxima.system
+@@ -75,6 +75,11 @@
+ ;; Convert dir/foo.fas to dir/foo.o
+ (make-pathname :type "o" :defaults p))
+ files)))
++ (c::build-fasl "binary-ecl/maxima" :lisp-files obj
++ :ld-flags
++ (let ((x (symbol-value (find-symbol "*AUTOCONF-LD-FLAGS*"
++ (find-package "MAXIMA")))))
++ (if (and x (not (string= x ""))) (list x))))
+ (c::build-program "binary-ecl/maxima" :lisp-files obj
+ :ld-flags
+ (let ((x (symbol-value (find-symbol "*AUTOCONF-LD-FLAGS*"