summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-mathematics/fricas/ChangeLog6
-rw-r--r--sci-mathematics/fricas/files/64fricas-gentoo.el2
-rw-r--r--sci-mathematics/fricas/fricas-1.0.8.ebuild12
3 files changed, 15 insertions, 5 deletions
diff --git a/sci-mathematics/fricas/ChangeLog b/sci-mathematics/fricas/ChangeLog
index 028125f58b0b..e6d1900d89f9 100644
--- a/sci-mathematics/fricas/ChangeLog
+++ b/sci-mathematics/fricas/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-mathematics/fricas
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fricas/ChangeLog,v 1.1 2010/01/07 17:07:46 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fricas/ChangeLog,v 1.2 2010/01/08 16:49:45 grozin Exp $
+
+ 08 Jan 2010; Andrey Grozin <grozin@gentoo.org> files/64fricas-gentoo.el,
+ fricas-1.0.8.ebuild:
+ Cleanup, inserted -j1 (bug #300132)
*fricas-1.0.8 (07 Jan 2010)
diff --git a/sci-mathematics/fricas/files/64fricas-gentoo.el b/sci-mathematics/fricas/files/64fricas-gentoo.el
index bd0f2c1b6656..bc610ea83925 100644
--- a/sci-mathematics/fricas/files/64fricas-gentoo.el
+++ b/sci-mathematics/fricas/files/64fricas-gentoo.el
@@ -1,4 +1,2 @@
;; site-init for sci-mathematics/fricas
(add-to-list 'load-path "/usr/share/emacs/site-lisp/fricas")
-(setq auto-mode-alist (cons '("\\.fri" . fricas-mode) auto-mode-alist))
-;(require 'fricas)
diff --git a/sci-mathematics/fricas/fricas-1.0.8.ebuild b/sci-mathematics/fricas/fricas-1.0.8.ebuild
index ea81c4e1ae07..c29da9a4a4d2 100644
--- a/sci-mathematics/fricas/fricas-1.0.8.ebuild
+++ b/sci-mathematics/fricas/fricas-1.0.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fricas/fricas-1.0.8.ebuild,v 1.1 2010/01/07 17:07:47 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fricas/fricas-1.0.8.ebuild,v 1.2 2010/01/08 16:49:45 grozin Exp $
EAPI=2
inherit elisp-common
@@ -43,7 +43,7 @@ done
DEPEND="${RDEPEND}"
-# necessary for gcl
+# necessary for clisp and gcl
RESTRICT="strip"
src_configure() {
@@ -64,11 +64,19 @@ src_configure() {
econf --disable-aldor --with-lisp=${LISP} $(use_with X x)
}
+src_compile() {
+ # bug #300132
+ emake -j1 || die "emake failed"
+}
+
src_install() {
emake DESTDIR="${D}" install || die 'emake install failed'
dodoc README FAQ || die "dodoc failed"
if use emacs; then
+ sed -e 's|(setq load-path (cons (quote "/usr/lib/fricas/emacs") load-path)) ||' \
+ -i "${D}"/usr/bin/efricas \
+ || die "sed efricas failed"
elisp-install ${PN} "${D}"/usr/lib/${PN}/emacs/*.el
elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
else