mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
sci-mathematics/maxima: hide dbl.el when USE=gcl is unset.
One of the emacs modes installed by maxima requires the gcl lisp interpreter (with emacs support) to be installed. To avoid confusing error messages, we remove it from the installation image when USE=gcl is unset. Closes: https://bugs.gentoo.org/502112 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
+7
@@ -204,6 +204,13 @@ src_install() {
|
||||
insinto /usr/share/${PN}/${PV}/doc/imaxima
|
||||
doins interfaces/emacs/imaxima/README
|
||||
doins -r interfaces/emacs/imaxima/imath-example
|
||||
|
||||
if ! use gcl; then
|
||||
# This emacs package is used to run gcl, maxima, gdb, etc.
|
||||
# all at once and possibly in the same buffer. As such, it's
|
||||
# no use without gcl (more to the point: it requires gcl.el).
|
||||
find "${ED}" -name 'dbl.el' -type f -delete || die
|
||||
fi
|
||||
fi
|
||||
|
||||
if use ecls; then
|
||||
Reference in New Issue
Block a user