[86555] trunk/dports/math/maxima

jmr at macports.org jmr at macports.org
Fri Oct 28 12:29:49 PDT 2011


Revision: 86555
          http://trac.macports.org/changeset/86555
Author:   jmr at macports.org
Date:     2011-10-28 12:29:49 -0700 (Fri, 28 Oct 2011)
Log Message:
-----------
maxima: ignore sbcl init files when building (#27739)

Modified Paths:
--------------
    trunk/dports/math/maxima/Portfile

Added Paths:
-----------
    trunk/dports/math/maxima/files/
    trunk/dports/math/maxima/files/src_maxima.in.patch

Modified: trunk/dports/math/maxima/Portfile
===================================================================
--- trunk/dports/math/maxima/Portfile	2011-10-28 15:37:18 UTC (rev 86554)
+++ trunk/dports/math/maxima/Portfile	2011-10-28 19:29:49 UTC (rev 86555)
@@ -33,6 +33,8 @@
                 port:recode \
                 port:gnuplot
 
+patchfiles      src_maxima.in.patch
+
 configure.args  --infodir=${prefix}/share/info \
                 --mandir=${prefix}/share/man \
                 --enable-sbcl

Added: trunk/dports/math/maxima/files/src_maxima.in.patch
===================================================================
--- trunk/dports/math/maxima/files/src_maxima.in.patch	                        (rev 0)
+++ trunk/dports/math/maxima/files/src_maxima.in.patch	2011-10-28 19:29:49 UTC (rev 86555)
@@ -0,0 +1,11 @@
+--- src/maxima.in.orig	2011-08-01 14:39:52.000000000 +1000
++++ src/maxima.in	2011-10-29 06:17:22.000000000 +1100
+@@ -175,7 +175,7 @@
+ elif [ "$MAXIMA_LISP" = "ecl" ]; then
+     exec "$maxima_image_base"  $MAXIMA_LISP_OPTIONS -- "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
+ elif [ "$MAXIMA_LISP" = "sbcl" ]; then
+-    exec "@SBCL_NAME@" --core "$maxima_image_base.core" --noinform $MAXIMA_LISP_OPTIONS --end-runtime-options --eval '(cl-user::run)' --end-toplevel-options "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
++    exec "@SBCL_NAME@" --core "$maxima_image_base.core" --noinform $MAXIMA_LISP_OPTIONS --end-runtime-options --no-sysinit --no-userinit --eval '(cl-user::run)' --end-toplevel-options "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"
+ else
+     echo "$0: lisp=\"$MAXIMA_LISP\" not known. Use --list-avail to see possible options." >&2
+     exit 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111028/5bd56699/attachment.html>


More information about the macports-changes mailing list