# HG changeset patch
# User Nils Bruin <nbruin@sfu.ca>
# Date 1271309485 25200
# Node ID 03ddaff9993a2bc0027e627c864eb6a69608bd4e
# Parent 1e760f99708b74b0cd395c7575c8a470b3118a21
patch to let 5.20.1 build under ecl 10.4.1 and build maxima.fas
diff -r 1e760f99708b -r 03ddaff9993a SPKG.txt
a
|
b
|
|
32 | 32 | |
33 | 33 | == Changelog == |
34 | 34 | |
| 35 | === maxima-5.20.1.p1 (Nils Bruin, April 14, 2010) === |
| 36 | * Applied Juanjo's patches to make 5.20.1 compile under ecl 10.4.1. |
| 37 | (patches should be included in upstream 5.21) |
| 38 | files affected: |
| 39 | src/lisp-utils/defsystem.lisp |
| 40 | src/src/ecl-port.lisp |
| 41 | * Rewrote section to build maxima.fas (ecl library) for new ASDF |
| 42 | (see Ticket #8645) |
| 43 | |
35 | 44 | === maxima-5.20.1 (Karl-Dieter Crisman, 21st December 2009) === |
36 | 45 | * Upgrade to the latest upstream release |
37 | 46 | * Removed patches - the solver is now in Maxima, and topoly.lisp is no longer used |
… |
… |
|
105 | 114 | ./spkg-dist |
106 | 115 | |
107 | 116 | However, this caused problems with calling automake because |
108 | | of the changed .in files. |
109 | | No newline at end of file |
| 117 | of the changed .in files. |
diff -r 1e760f99708b -r 03ddaff9993a spkg-install
a
|
b
|
|
8 | 8 | |
9 | 9 | CUR=`pwd` |
10 | 10 | |
11 | | # patch() {} |
12 | | # no current patches against Maxima |
13 | | # patch |
| 11 | patch() { |
| 12 | cp patches/defsystem.lisp src/lisp-utils/defsystem.lisp |
| 13 | cp patches/ecl-port.lisp src/src/ecl-port.lisp |
| 14 | } |
| 15 | patch |
14 | 16 | |
15 | 17 | cd src/ |
16 | 18 | |
… |
… |
|
60 | 62 | |
61 | 63 | cd src |
62 | 64 | echo "building Maxima as an ecl library" |
63 | | ecl -eval "(require 'asdf)" -eval '(load "maxima-build.lisp")' -eval '(asdf:make-build :maxima :type :fasl)' -eval "(quit)" |
| 65 | mkdir ./lisp-cache |
| 66 | ecl \ |
| 67 | -eval '(require `asdf)' \ |
| 68 | -eval '(setf asdf::*user-cache* (truename "./lisp-cache"))' \ |
| 69 | -eval '(load "maxima-build.lisp")' \ |
| 70 | -eval '(asdf:make-build :maxima :type :fasl :move-here ".")' \ |
| 71 | -eval '(quit)' |
| 72 | |
64 | 73 | ECLLIB=`ecl -eval "(princ (SI:GET-LIBRARY-PATHNAME))" -eval "(quit)"` |
65 | 74 | echo |
66 | 75 | echo "installing Maxima library as $ECLLIB/maxima.fas" |
67 | 76 | cp maxima.fasb $ECLLIB/maxima.fas |
| 77 | check_error "Failed to install maxima.fasb as a library" |
68 | 78 | cd .. |
69 | 79 | |