diff options
author | Marijn Schouten <hkbst@gentoo.org> | 2007-05-10 15:19:57 +0000 |
---|---|---|
committer | Marijn Schouten <hkbst@gentoo.org> | 2007-05-10 15:19:57 +0000 |
commit | 5e08e479e1ce709127df63769d291d0908917f97 (patch) | |
tree | ba91790d3a1d65ee54993d634bcf770daeea2137 /dev-scheme/gambit | |
parent | Version bump. Dropped old versions. (diff) | |
download | gentoo-2-5e08e479e1ce709127df63769d291d0908917f97.tar.gz gentoo-2-5e08e479e1ce709127df63769d291d0908917f97.tar.bz2 gentoo-2-5e08e479e1ce709127df63769d291d0908917f97.zip |
fix beta22 syntax-case support
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-scheme/gambit')
-rw-r--r-- | dev-scheme/gambit/ChangeLog | 5 | ||||
-rw-r--r-- | dev-scheme/gambit/gambit-4.0_beta22.ebuild | 22 |
2 files changed, 15 insertions, 12 deletions
diff --git a/dev-scheme/gambit/ChangeLog b/dev-scheme/gambit/ChangeLog index a468dca218bf..6dd87d92f004 100644 --- a/dev-scheme/gambit/ChangeLog +++ b/dev-scheme/gambit/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-scheme/gambit # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/ChangeLog,v 1.4 2007/04/19 13:17:55 hkbst Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/ChangeLog,v 1.5 2007/05/10 15:19:57 hkbst Exp $ + + 10 May 2007; Marijn Schouten <hkBst@gentoo.org> gambit-4.0_beta22.ebuild: + fix beta22 syntax-case support *gambit-4.0_beta22 (19 Apr 2007) 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 } |