Ticket #10187: maxima-5.22.1.patch

File maxima-5.22.1.patch, 2.3 KB (added by vbraun, 9 years ago)

Re-uploaded diff for the maxima spkg (for review purposes only)

  • SPKG.txt

    diff -r ea35ea796988 -r e8822a6306c4 SPKG.txt
    a b  
    3232
    3333== Changelog ==
    3434
     35=== maxima-5.22.1 (Nils Bruin, Volker Braun, 28 October 2010) ===
     36 * Update to the latest upstream version.
     37 * Rewrote section to build maxima.fas (ecl library) for new ASDF
     38   (see Ticket #8645)
     39
    3540=== maxima-5.20.1.p0 (William Stein, 3 April 2010) ===
    3641 * Artificially bump version number to force rebuild, due to Maxima being broken without
    3742   doing so on upgrade.
     
    110115 
    111116  However, this caused problems with calling automake because
    112117  of the changed .in files.
     118
  • spkg-install

    diff -r ea35ea796988 -r e8822a6306c4 spkg-install
    a b  
    1414
    1515cd src/
    1616
    17 unset MAKE  # this can break things
     17MAKE="$MAKE -j1"  # force sequential build (1 job)
    1818
    1919check_error() {
    2020    if [ $? -ne 0 ]; then
     
    2525    fi
    2626}
    2727
    28 ./configure --prefix=$SAGE_LOCAL --enable-ecl
     28./configure --prefix="$SAGE_LOCAL" --enable-ecl
    2929check_error "Failed to configure Maxima."
    3030
    3131if [ `uname` = "Darwin" ]; then
     
    3535   echo "you will not be able to see the output of the build"
    3636   echo "as it occurs.  Don't worry, the build process did"
    3737   echo "not hang."
    38    make >> "$CUR"/output.log  2>> "$CUR"/error.log
     38   $MAKE >> "$CUR"/output.log  2>> "$CUR"/error.log
    3939else
    40    make
     40   $MAKE
    4141fi
    4242check_error "Failed to make Maxima."
    4343
    44 make install
     44$MAKE install
    4545check_error "Failed to install Maxima."
    4646
    4747echo "creating wrapper script with disabled readline"
     
    6060
    6161cd src
    6262echo "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)"
     63mkdir ./lisp-cache
     64ecl \
     65  -eval '(require `asdf)' \
     66  -eval '(setf asdf::*user-cache* (truename "./lisp-cache"))' \
     67  -eval '(load "maxima-build.lisp")' \
     68  -eval '(asdf:make-build :maxima :type :fasl :move-here ".")' \
     69  -eval '(quit)'
    6470ECLLIB=`ecl -eval "(princ (SI:GET-LIBRARY-PATHNAME))" -eval "(quit)"`
    6571echo
    6672echo "installing Maxima library as $ECLLIB/maxima.fas"
    67 cp maxima.fasb $ECLLIB/maxima.fas
     73cp maxima.fasb "$ECLLIB/maxima.fas"
     74check_error "Failed to install maxima.fasb as a library"
    6875cd ..
    6976