summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2012-08-05 05:28:50 +0000
committerAndrey Grozin <grozin@gentoo.org>2012-08-05 05:28:50 +0000
commitb0afc1fcb30b0ec3247f4897ea9e170ab4e9331e (patch)
treeef34e851488ca7b61471f7ceef271d6c6ea3e519 /sci-mathematics/fricas
parentCurrent cvs snapshot (masked), useful for maxima (diff)
downloadgentoo-2-b0afc1fcb30b0ec3247f4897ea9e170ab4e9331e.tar.gz
gentoo-2-b0afc1fcb30b0ec3247f4897ea9e170ab4e9331e.tar.bz2
gentoo-2-b0afc1fcb30b0ec3247f4897ea9e170ab4e9331e.zip
Ugly workaround for broken sbcl in the main tree, closing #423267
(Portage version: 2.2.0_alpha120/cvs/Linux i686)
Diffstat (limited to 'sci-mathematics/fricas')
-rw-r--r--sci-mathematics/fricas/ChangeLog6
-rw-r--r--sci-mathematics/fricas/files/fricas-sbcl.patch13
-rw-r--r--sci-mathematics/fricas/fricas-1.1.7-r1.ebuild8
3 files changed, 24 insertions, 3 deletions
diff --git a/sci-mathematics/fricas/ChangeLog b/sci-mathematics/fricas/ChangeLog
index 5d38dca7d92d..a56f37af03f0 100644
--- a/sci-mathematics/fricas/ChangeLog
+++ b/sci-mathematics/fricas/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-mathematics/fricas
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fricas/ChangeLog,v 1.15 2012/06/22 07:35:14 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fricas/ChangeLog,v 1.16 2012/08/05 05:28:50 grozin Exp $
+
+ 05 Aug 2012; Andrey Grozin <grozin@gentoo.org> fricas-1.1.7-r1.ebuild,
+ +files/fricas-sbcl.patch:
+ Ugly workaround for broken sbcl in the main tree, closing #423267
*fricas-1.1.7-r1 (22 Jun 2012)
diff --git a/sci-mathematics/fricas/files/fricas-sbcl.patch b/sci-mathematics/fricas/files/fricas-sbcl.patch
new file mode 100644
index 000000000000..16bb16c189c5
--- /dev/null
+++ b/sci-mathematics/fricas/files/fricas-sbcl.patch
@@ -0,0 +1,13 @@
+diff -r -U2 fricas-1.1.7.orig/configure.ac fricas-1.1.7/configure.ac
+--- fricas-1.1.7.orig/configure.ac 2012-06-19 08:17:01.000000000 +0700
++++ fricas-1.1.7/configure.ac 2012-08-05 11:18:22.000000000 +0700
+@@ -243,4 +243,9 @@
+ fi
+
++## Work-around for broken sbcl in Gentoo
++if test $FRICAS_LISP = sbcl ; then
++ FRICAS_LISP="$FRICAS_LISP --sysinit /dev/null --userinit /dev/null"
++fi
++
+ AC_ARG_WITH([lisp-flavor],
+ [AS_HELP_STRING([--with-lisp-flavor=F],
diff --git a/sci-mathematics/fricas/fricas-1.1.7-r1.ebuild b/sci-mathematics/fricas/fricas-1.1.7-r1.ebuild
index 67372c4fceda..b265dea4e69e 100644
--- a/sci-mathematics/fricas/fricas-1.1.7-r1.ebuild
+++ b/sci-mathematics/fricas/fricas-1.1.7-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fricas/fricas-1.1.7-r1.ebuild,v 1.1 2012/06/22 07:35:14 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fricas/fricas-1.1.7-r1.ebuild,v 1.2 2012/08/05 05:28:50 grozin Exp $
EAPI=4
-inherit eutils multilib elisp-common
+inherit eutils multilib elisp-common autotools
DESCRIPTION="FriCAS is a fork of Axiom computer algebra system"
HOMEPAGE="http://${PN}.sourceforge.net/"
@@ -49,6 +49,10 @@ RESTRICT="strip"
src_prepare() {
# fix a bug in src/graph/view3D/smoothShade3d.c
epatch "${FILESDIR}"/${P}.patch
+
+ # workaround for broken sbcl
+ epatch "${FILESDIR}"/${PN}-sbcl.patch
+ eautoreconf
}
src_configure() {