Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 499634
Collapse All | Expand All

(-)/usr/portage/sci-mathematics/maxima/files/ecls-0.patch (-1 / +11 lines)
Lines 20-27 Link Here
20
+
20
+
21
+#+ecl
21
+#+ecl
22
 (defun build-maxima-lib ()
22
 (defun build-maxima-lib ()
23
@@ -81,3 +89,3 @@
23
@@ -77,7 +85,12 @@
24
 			 files)))
25
+	(c::build-fasl "binary-ecl/maxima" :lisp-files obj
26
+			  :ld-flags
27
+			  (let ((x (symbol-value (find-symbol "*AUTOCONF-LD-FLAGS*"
28
+							      (find-package "MAXIMA")))))
29
+			    (if (and x (not (string= x ""))) (split-ld-flags-for-ecl x))))
30
 	(c::build-program "binary-ecl/maxima" :lisp-files obj
31
 			  :ld-flags
32
 			  (let ((x (symbol-value (find-symbol "*AUTOCONF-LD-FLAGS*"
24
 							      (find-package "MAXIMA")))))
33
 							      (find-package "MAXIMA")))))
25
-			    (if (and x (not (string= x ""))) (list x)))
34
-			    (if (and x (not (string= x ""))) (list x)))
26
+			    (if (and x (not (string= x ""))) (split-ld-flags-for-ecl x)))
35
+			    (if (and x (not (string= x ""))) (split-ld-flags-for-ecl x)))
27
 			  :epilogue-code '(progn (require :defsystem)
36
 			  :epilogue-code '(progn (require :defsystem)
37
(-)/usr/portage/sci-mathematics/maxima/maxima-5.32.1.ebuild (-11 / +2 lines)
Lines 21-27 Link Here
21
# . - just --enable-<lisp>, <flag> - --enable-<flag>
21
# . - just --enable-<lisp>, <flag> - --enable-<flag>
22
CONF_FLAG=( .    .     .               ecl  ccl       .     )
22
CONF_FLAG=( .    .     .               ecl  ccl       .     )
23
# patch file version; . - no patch
23
# patch file version; . - no patch
24
PATCH_V=(   0    0     .               0    0         0     )
24
PATCH_V=(   0    0     .               1    0         0     )
25
25
26
IUSE="latex emacs tk nls unicode xemacs X ${LISPS[*]}"
26
IUSE="latex emacs tk nls unicode xemacs X ${LISPS[*]}"
27
27
Lines 165-182 Link Here
165
165
166
	# if we use ecls, build an ecls library for maxima
166
	# if we use ecls, build an ecls library for maxima
167
	if use ecls; then
167
	if use ecls; then
168
		cd src
169
		ecl \
170
			-eval '(require `asdf)' \
171
			-eval '(push "./" asdf:*central-registry*)' \
172
			-eval "(asdf:initialize-output-translations \
173
				'(:output-translations :disable-cache :inherit-configuration))" \
174
			-eval '(load "maxima-build.lisp")' \
175
			-eval '(asdf:make-build :maxima :type :fasl)' \
176
			-eval '(quit)'
177
		ECLLIB=`ecl -eval "(princ (SI:GET-LIBRARY-PATHNAME))" -eval "(quit)"`
168
		ECLLIB=`ecl -eval "(princ (SI:GET-LIBRARY-PATHNAME))" -eval "(quit)"`
178
		insinto "${ECLLIB#${EPREFIX}}"
169
		insinto "${ECLLIB#${EPREFIX}}"
179
		newins maxima.fasb maxima.fas
170
		doins src/binary-ecl/maxima.fas
180
	fi
171
	fi
181
}
172
}
182
173

Return to bug 499634