commit: 4a1dff9398711407590429262674093a5d621de1
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 18 11:06:56 2016 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Fri Mar 18 11:07:54 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1dff93
sci-mathematics/maxima: fix elisp files compilation
Bug: 576652
Package-Manager: portage-2.2.28
sci-mathematics/maxima/maxima-5.37.3-r4.ebuild | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/sci-mathematics/maxima/maxima-5.37.3-r4.ebuild
b/sci-mathematics/maxima/maxima-5.37.3-r4.ebuild
index 06cbc93..fea3dd5 100644
--- a/sci-mathematics/maxima/maxima-5.37.3-r4.ebuild
+++ b/sci-mathematics/maxima/maxima-5.37.3-r4.ebuild
@@ -147,7 +147,15 @@ src_configure() {
src_compile() {
emake
- use emacs && elisp-compile interfaces/emacs/{emaxima,imaxima}/*.el
+ if use emacs; then
+ pushd interfaces/emacs/emaxima > /dev/null
+ elisp-compile *.el
+ popd > /dev/null
+ pushd interfaces/emacs/imaxima > /dev/null
+ BYTECOMPFLAGS="-L . -L ../emaxima"
+ elisp-compile *.el
+ popd > /dev/null
+ fi
}
src_install() {