--- /usr/portage/sci-mathematics/maxima/files/ecls-0.patch 2013-04-20 16:50:53.000000000 +0200 +++ sci-mathematics/maxima/files/ecls-1.patch 2013-06-23 21:27:14.215295921 +0200 @@ -20,8 +20,18 @@ + +#+ecl (defun build-maxima-lib () -@@ -81,3 +89,3 @@ +@@ -77,7 +85,12 @@ + 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 ""))) (split-ld-flags-for-ecl x)))) + (c::build-program "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))) + (if (and x (not (string= x ""))) (split-ld-flags-for-ecl x))) :epilogue-code '(progn (require :defsystem) + --- /usr/portage/sci-mathematics/maxima/maxima-5.32.1.ebuild 2014-01-11 12:21:18.000000000 +0100 +++ sci-mathematics/maxima/maxima-5.32.1.ebuild 2014-01-28 20:45:02.149324152 +0100 @@ -21,7 +21,7 @@ # . - just --enable-, - --enable- CONF_FLAG=( . . . ecl ccl . ) # patch file version; . - no patch -PATCH_V=( 0 0 . 0 0 0 ) +PATCH_V=( 0 0 . 1 0 0 ) IUSE="latex emacs tk nls unicode xemacs X ${LISPS[*]}" @@ -165,18 +165,9 @@ # if we use ecls, build an ecls library for maxima if use ecls; then - cd src - ecl \ - -eval '(require `asdf)' \ - -eval '(push "./" asdf:*central-registry*)' \ - -eval "(asdf:initialize-output-translations \ - '(:output-translations :disable-cache :inherit-configuration))" \ - -eval '(load "maxima-build.lisp")' \ - -eval '(asdf:make-build :maxima :type :fasl)' \ - -eval '(quit)' ECLLIB=`ecl -eval "(princ (SI:GET-LIBRARY-PATHNAME))" -eval "(quit)"` insinto "${ECLLIB#${EPREFIX}}" - newins maxima.fasb maxima.fas + doins src/binary-ecl/maxima.fas fi }