diff options
-rw-r--r-- | sci-mathematics/maxima/maxima-5.37.3-r4.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sci-mathematics/maxima/maxima-5.37.3-r4.ebuild b/sci-mathematics/maxima/maxima-5.37.3-r4.ebuild index 06cbc93faa0..fea3dd575f7 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() { |