summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-scheme/gambit/gambit-4.0_beta22.ebuild')
-rw-r--r--dev-scheme/gambit/gambit-4.0_beta22.ebuild22
1 files changed, 11 insertions, 11 deletions
diff --git a/dev-scheme/gambit/gambit-4.0_beta22.ebuild b/dev-scheme/gambit/gambit-4.0_beta22.ebuild
index e800e42717c4..698f3a081cf3 100644
--- a/dev-scheme/gambit/gambit-4.0_beta22.ebuild
+++ b/dev-scheme/gambit/gambit-4.0_beta22.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/gambit-4.0_beta22.ebuild,v 1.1 2007/04/19 13:17:55 hkbst Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/gambit-4.0_beta22.ebuild,v 1.2 2007/05/10 15:19:57 hkbst Exp $
inherit eutils elisp-common check-reqs autotools multilib
@@ -12,7 +12,7 @@ DESCRIPTION="Gambit-C is a native Scheme to C compiler and interpreter."
HOMEPAGE="http://www.iro.umontreal.ca/~gambit/"
SRC_URI="http://www.iro.umontreal.ca/~gambit/download/gambit/4.0/source/${MY_P}.tar.gz"
-LICENSE="Apache-2.0 LGPL-2.1"
+LICENSE="|| ( Apache-2.0 LGPL-2.1 )"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
@@ -22,7 +22,7 @@ SITEFILE="50gambit-gentoo.el"
S=${WORKDIR}/${MY_P}
-IUSE="emacs gcc-opts"
+IUSE="emacs macros gcc-opts"
pkg_setup() {
if ! use gcc-opts; then
@@ -55,9 +55,10 @@ src_compile() {
fi
# uses lots of memory
- if use gcc-opts; then
+ if use macros; then
einfo "compiling syntax-case.scm..."
- LD_LIBRARY_PATH="lib/" GAMBCOPT="=." gsc/gsc misc/syntax-case.scm
+ einfo "(this may take some time and cause thrashing)"
+ time LD_LIBRARY_PATH="lib/" GAMBCOPT="=." gsc/gsc misc/syntax-case.scm
fi
}
@@ -66,7 +67,7 @@ src_install() {
rm ${D}/usr/current
- use gcc-opts && dolib syntax-case.*
+ use macros && dolib syntax-case.*
mv ${D}/usr/syntax-case.scm ${D}/usr/$(get_libdir)
# rename the /usr/bin/gsc to avoid collision with gsc from ghostscript
@@ -84,10 +85,9 @@ src_install() {
doins -r examples
# create some more explicit names
- dosym gsc-gambit usr/bin/gambitsc
- dosym gsi usr/bin/gambitsi
+ dosym gsc-gambit usr/bin/gambit-compiler
+ dosym gsi usr/bin/gambit-interpreter
- dodir /etc/env.d/ && echo "GAMBCOPT=\"=/usr/lib/\"" > ${D}/etc/env.d/50gambit
- # automatically load syntax-case for r5rs goodness
- echo '(load "~~syntax-case")' > ${D}/usr/lib/gambcext
+ use macros && dodir /etc/env.d/ && echo "GAMBCOPT=\"=/usr/$(get_libdir)/\"" > ${D}/etc/env.d/50gambit
+# echo '(load "~~syntax-case")' > ${D}/usr/$(get_libdir)/gambcext
}