summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2009-01-28 16:46:59 +0000
committerMarijn Schouten <hkbst@gentoo.org>2009-01-28 16:46:59 +0000
commitccc1e206e25c522f30f7556e110589cda97c63f5 (patch)
tree772ec0eff71e2f70e2b019e6cdf00198c5b80177 /dev-scheme/gambit
parentFix --as-needed bug #247284 (diff)
downloadhistorical-ccc1e206e25c522f30f7556e110589cda97c63f5.tar.gz
historical-ccc1e206e25c522f30f7556e110589cda97c63f5.tar.bz2
historical-ccc1e206e25c522f30f7556e110589cda97c63f5.zip
rm cruft
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'dev-scheme/gambit')
-rw-r--r--dev-scheme/gambit/ChangeLog7
-rw-r--r--dev-scheme/gambit/Manifest18
-rw-r--r--dev-scheme/gambit/gambit-4.0.0.ebuild125
-rw-r--r--dev-scheme/gambit/gambit-4.0.1.ebuild125
-rw-r--r--dev-scheme/gambit/gambit-4.0_beta22.ebuild109
-rw-r--r--dev-scheme/gambit/gambit-4.1.0.ebuild126
-rw-r--r--dev-scheme/gambit/gambit-4.1.1.ebuild107
-rw-r--r--dev-scheme/gambit/gambit-4.1.2.ebuild102
-rw-r--r--dev-scheme/gambit/gambit-4.4.0.ebuild3
-rw-r--r--dev-scheme/gambit/metadata.xml4
10 files changed, 11 insertions, 715 deletions
diff --git a/dev-scheme/gambit/ChangeLog b/dev-scheme/gambit/ChangeLog
index 10ff57740f17..30145ebb4ddd 100644
--- a/dev-scheme/gambit/ChangeLog
+++ b/dev-scheme/gambit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-scheme/gambit
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/ChangeLog,v 1.20 2009/01/05 21:16:19 hkbst Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/ChangeLog,v 1.21 2009/01/28 16:46:59 hkbst Exp $
+
+ 28 Jan 2009; Marijn Schouten <hkBst@gentoo.org> -gambit-4.0_beta22.ebuild,
+ -gambit-4.0.0.ebuild, -gambit-4.0.1.ebuild, -gambit-4.1.0.ebuild,
+ -gambit-4.1.1.ebuild, -gambit-4.1.2.ebuild:
+ rm cruft
05 Jan 2009; Marijn Schouten <hkBst@gentoo.org> gambit-4.4.0.ebuild:
enable single-host by default and remove option to enable gcc-opts
diff --git a/dev-scheme/gambit/Manifest b/dev-scheme/gambit/Manifest
index 50ed7542496c..8c0102b9901e 100644
--- a/dev-scheme/gambit/Manifest
+++ b/dev-scheme/gambit/Manifest
@@ -1,17 +1,5 @@
AUX 50gambit-gentoo.el 386 RMD160 b6ce9c7cf009870ae19ef8f2007a66d98b3f0252 SHA1 02e86bb2a967c36312fa8b43759256b862592109 SHA256 70feee41315a0c588b13eda7e85b6c3546f933ac500e4e25dbe4b9cd186ca88b
-DIST gambc-4.0b22.tar.gz 7133092 RMD160 5cba5e532b93802d383d8927cc85a70ccd680cc0 SHA1 3dad264611443991fc36fa0f949a5ff8b864f57a SHA256 14b6715466f9e8c7d5da01e8a066843e02e2101739a0a41ad17f06d903bc4caf
-DIST gambc-v4_0_0.tgz 11645990 RMD160 62f71be66dd6f16a61c92a3e5217a9e41374268d SHA1 d8f31420263a93b470c9abb1c259eab4dbebe66b SHA256 a4be96da0bb4636e98b8851ea10e0ab284169e8e14613a01e4e5e5fd9bc6a5d2
-DIST gambc-v4_0_1.tgz 11676506 RMD160 ec53f9cfc162b7d82521ef5a8536e379fea65805 SHA1 7400fb30385bdebe715e3b5e04a8700498c8fd5a SHA256 8a5577fed7e788f4a8c72f47a59ccd1a26729c22d149a290e169c369bbe66c45
-DIST gambc-v4_1_0.tgz 11764506 RMD160 162095343bd5163b1f1c5c30862f3831bc396a50 SHA1 f1759cd8f27bfcd1d9ab270bd73d78d7f0641188 SHA256 4addf724778f5170b0a2bafe86fb433ce52a4ec32e0d7acc35959e3f38800f27
-DIST gambc-v4_1_1.tgz 11971875 RMD160 9a3dc12b1b98c62f3c567150957b0337360bcee8 SHA1 721a00e3d2fdf41780f0fb877060105780ac9a0d SHA256 8db1fa538966ceae1f8b5f916758c21dbf0539417167c7cf99b609c12b11c7bc
-DIST gambc-v4_1_2.tgz 11986578 RMD160 645366cffbc0375ffb2c4d0ccad1359385dd4820 SHA1 ee105466ebb6498e1caea27f0282672bb8f3d7bf SHA256 16158e0ce3d79bb23039e9c429971dff3baef944582198d27df52a0b3808a4ea
DIST gambc-v4_4_0.tgz 7780807 RMD160 9dea1538d603a67d1f366a22e0c6b2f6cb35b238 SHA1 bfae71ca26bf816090d2815d16140171b17d7c4a SHA256 28162397ae50cbe00a1038ab33671c8ebd2a70d4d075ae906870ae7f504f3588
-EBUILD gambit-4.0.0.ebuild 3832 RMD160 93f040b6094fbe5e66b0d73316c11d7838ff62c6 SHA1 a3f84ac27f6cf165f55dfbebca3cb2d28741d89e SHA256 3484b1bc71364c97cb3626404ed92b25826d7f4b6b80c884f47e9efa7aee4d4c
-EBUILD gambit-4.0.1.ebuild 3832 RMD160 de5c9ae2da9c34ba9491a6b9ebbdcb7a048308d6 SHA1 ea0951b25c4d3b7ec106b0c58f7cf8834cc3ac98 SHA256 1473e9cb4e89502df3f59446177ff62cee296d09551a1edacff0ab43f33bbca4
-EBUILD gambit-4.0_beta22.ebuild 3178 RMD160 b31e0a556678b9dc0f0ce9deaf04a95520834091 SHA1 06be68c3c7258528a58a0cea3803c9390ee02efb SHA256 2718d3a4a05d7a6a0655ce12b0736afc675940c8c0805ee1b06b0de679df80ee
-EBUILD gambit-4.1.0.ebuild 3885 RMD160 cf59a1e4fb8b735bb601d9c038c9451bbe2261eb SHA1 c8f0b7119d58b5bfb45f01a8b281825d7e233265 SHA256 b313d21f93af697fc663208e9c87a9afe68288343b5e80ce377e05208cb2e1f2
-EBUILD gambit-4.1.1.ebuild 3096 RMD160 577932c49a48048a79a4c30eca5fbf69039367de SHA1 d42ff2a5831b12d40d86037ff321ad5d105b373d SHA256 dc85863263808ed1cfe9e187ce8df5ba94fc232914052080a56b197be64329f0
-EBUILD gambit-4.1.2.ebuild 2939 RMD160 1e920b75dd9cd5c0f8f2c83cc01dafe68089d14c SHA1 e863404dba8ae08dc69ec5460c1937fcb7d81727 SHA256 6248e7ea06bc3a1c19b4daa127500b854a959a2be1a7a77e639ab2fad704eedf
-EBUILD gambit-4.4.0.ebuild 2574 RMD160 318d63cc413badee5ad2c3b395fa21a842210ccc SHA1 16dc60d645b412694d093c237941527eacd74e7b SHA256 c69e8343322f875b70ac97728ddadaa4bd7cbea30994ba648d5110e338a752a7
-MISC ChangeLog 3952 RMD160 29782f13a694a8b96104ee37b0d3f744713a4fc6 SHA1 0fd0c426cb164ffda95c50270a75d5ed3da4cb5e SHA256 f1490c0f05dbe0680296fa074ebd62fe2a94ee3f4adaa892852ed471d0baa659
-MISC metadata.xml 312 RMD160 ec203ff026ee2c129aee59a32f081367992cc2fe SHA1 618198cf6fb5b27fae8e207894a97092f9723db2 SHA256 210c19c1d306b12e8c2657fb0887d0e01f7eb503d246df6ff95bf12f88a53f27
+EBUILD gambit-4.4.0.ebuild 2585 RMD160 93cccf7aa09af43570b22c79dc12061630255f80 SHA1 5414a3f573cae446008d7e3300f04b7684c720cc SHA256 e5734fcde6d58f6b7bdc460c244ae829d54ea6903956ec7472280cb6dc4332dd
+MISC ChangeLog 4155 RMD160 588c0209a137c5017106ba578eac88c7e37c5a28 SHA1 16ae22312da632773e20c47cc4967c08e76e3206 SHA256 95f489ece27a8551fe5184ba595b2b811be9ecbf1f5d5fee12f2793707d635c0
+MISC metadata.xml 159 RMD160 de517ce4d7d6fd637855d92a257e2c94b8339f43 SHA1 f037b0d8dd3d592d04170d21a1a9b9c594541612 SHA256 61c7b86c8f64d194ff9e03f62b4007e0c69db2054d09e3ccdbbf6dbc0c78024b
diff --git a/dev-scheme/gambit/gambit-4.0.0.ebuild b/dev-scheme/gambit/gambit-4.0.0.ebuild
deleted file mode 100644
index 2ca1c35238e2..000000000000
--- a/dev-scheme/gambit/gambit-4.0.0.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/gambit-4.0.0.ebuild,v 1.4 2008/08/28 17:41:15 ulm Exp $
-
-inherit eutils elisp-common check-reqs autotools multilib
-
-MY_PN=gambc
-MY_PV=${PV//./_}
-MY_P=${MY_PN}-v${MY_PV}
-
-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/v4.0/source/${MY_P}.tgz"
-
-LICENSE="|| ( Apache-2.0 LGPL-2.1 )"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-
-DEPEND="emacs? ( virtual/emacs )"
-
-SITEFILE="50gambit-gentoo.el"
-
-S=${WORKDIR}/${MY_P}
-
-IUSE="big-iron emacs static"
-
-pkg_setup() {
- if ! use big-iron; then
- ewarn "NOT compiling each Scheme module as a single C function"
- ewarn "NOT using gcc specific optimizations"
- ewarn "NOT compiling syntax-case macro system"
- ewarn "approximately 0.5GB ram will be needed"
- ewarn "if you experience thrashing, try disabling parallel building or setting -O1"
- # need this much memory in MBytes (does *not* check swap)
- CHECKREQS_MEMORY="768" check_reqs
- else
- ewarn "compiling each Scheme module as a single C function"
- ewarn "using gcc specific optimizations"
- ewarn "compiling syntax-case macro system"
- ewarn "approximately 2GB ram will be needed instead of 0.5GB"
- ewarn "this will cause heavy thrashing of your system"
- ewarn "and may cause your compiler to crash when it runs out of memory"
- ewarn "unless your system is BIG IRON"
- # need this much memory in MBytes (does *not* check swap)
- CHECKREQS_MEMORY="2560" check_reqs
- fi
-}
-
-src_unpack() {
- unpack ${A}; cd "${S}"
-# cp configure.ac configure.ac.old
- sed -e 's:PACKAGE_SUBDIR="/$PACKAGE_VERSION"::' \
- -e 's:#PACKAGE_SUBDIR="":PACKAGE_SUBDIR="":' -i configure.ac
- #don't force -O1
- sed 's:$DASH_O1::' -i configure.ac
- eautoreconf
-# diff -u configure.ac.old configure.ac
-}
-
-src_compile() {
- econf $(if use static; then echo --disable-shared; else echo --enable-shared; fi) \
- $(use_enable big-iron single-host) $(use_enable big-iron gcc-opts)
- emake || die "emake failed"
-
- if use emacs; then
- elisp-compile misc/*.el || die "elisp-compile failed"
- fi
-
- # compile syntax-case
- if use big-iron; then
- einfo "compiling syntax-case.scm..."
- LD_LIBRARY_PATH="lib/" GAMBCOPT="=." gsc/gsc misc/syntax-case.scm
- fi
-}
-
-src_test() {
- vecho ">>> Test phase [check]: ${CATEGORY}/${PF}"
- if ! GAMBCOPT="=." emake -j1 check; then
- hasq test $FEATURES && die "Make test failed. See above for details."
- hasq test $FEATURES || eerror "Make test failed. See above for details."
- fi
-}
-
-src_install() {
- einstall docdir=${D}/usr/share/doc/${PF} || die "einstall failed"
-
- rm ${D}/usr/current
-
- use big-iron && 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
- mv ${D}/usr/bin/gsc ${D}/usr/bin/gsc-gambit
-
- # remove emacs/site-lisp/gambit.el
- rm -r ${D}/usr/share/emacs
- if use emacs; then
- elisp-install ${PN} misc/*.{el,elc}
- elisp-site-file-install ${FILESDIR}/${SITEFILE}
- fi
-
- dodoc INSTALL.txt README
- insinto /usr/share/doc/${PF}
- doins -r examples
-
- # create some more explicit names
- dosym gsc-gambit usr/bin/gambit-compiler
- dosym gsi usr/bin/gambit-interpreter
-
-# dodir /etc/env.d/ && echo "GAMBCOPT=\"=/usr/\"" > ${D}/etc/env.d/50gambit
- echo "GAMBCOPT=\"=/usr/\"" > "${T}/50gambit" && doenvd "${T}/50gambit"
-
- ewarn "syntax-case will be automatically loaded for R5RS+ goodness"
- ewarn "edit /etc/gambcext if you want to set your own options"
- dosym /etc/gambcext /usr/gambcext
- echo "(load \"/usr/$(get_libdir)/syntax-case\")" > ${D}/etc/gambcext
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-scheme/gambit/gambit-4.0.1.ebuild b/dev-scheme/gambit/gambit-4.0.1.ebuild
deleted file mode 100644
index 5c00ae8e6d19..000000000000
--- a/dev-scheme/gambit/gambit-4.0.1.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/gambit-4.0.1.ebuild,v 1.2 2008/08/28 17:41:15 ulm Exp $
-
-inherit eutils elisp-common check-reqs autotools multilib
-
-MY_PN=gambc
-MY_PV=${PV//./_}
-MY_P=${MY_PN}-v${MY_PV}
-
-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/v4.0/source/${MY_P}.tgz"
-
-LICENSE="|| ( Apache-2.0 LGPL-2.1 )"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-
-DEPEND="emacs? ( virtual/emacs )"
-
-SITEFILE="50gambit-gentoo.el"
-
-S=${WORKDIR}/${MY_P}
-
-IUSE="big-iron emacs static"
-
-pkg_setup() {
- if ! use big-iron; then
- ewarn "NOT compiling each Scheme module as a single C function"
- ewarn "NOT using gcc specific optimizations"
- ewarn "NOT compiling syntax-case macro system"
- ewarn "approximately 0.5GB ram will be needed"
- ewarn "if you experience thrashing, try disabling parallel building or setting -O1"
- # need this much memory in MBytes (does *not* check swap)
- CHECKREQS_MEMORY="768" check_reqs
- else
- ewarn "compiling each Scheme module as a single C function"
- ewarn "using gcc specific optimizations"
- ewarn "compiling syntax-case macro system"
- ewarn "approximately 2GB ram will be needed instead of 0.5GB"
- ewarn "this will cause heavy thrashing of your system"
- ewarn "and may cause your compiler to crash when it runs out of memory"
- ewarn "unless your system is BIG IRON"
- # need this much memory in MBytes (does *not* check swap)
- CHECKREQS_MEMORY="2560" check_reqs
- fi
-}
-
-src_unpack() {
- unpack ${A}; cd "${S}"
-# cp configure.ac configure.ac.old
- sed -e 's:PACKAGE_SUBDIR="/$PACKAGE_VERSION"::' \
- -e 's:#PACKAGE_SUBDIR="":PACKAGE_SUBDIR="":' -i configure.ac
- #don't force -O1
- sed 's:$DASH_O1::' -i configure.ac
- eautoreconf
-# diff -u configure.ac.old configure.ac
-}
-
-src_compile() {
- econf $(if use static; then echo --disable-shared; else echo --enable-shared; fi) \
- $(use_enable big-iron single-host) $(use_enable big-iron gcc-opts)
- emake || die "emake failed"
-
- if use emacs; then
- elisp-compile misc/*.el || die "elisp-compile failed"
- fi
-
- # compile syntax-case
- if use big-iron; then
- einfo "compiling syntax-case.scm..."
- LD_LIBRARY_PATH="lib/" GAMBCOPT="=." gsc/gsc misc/syntax-case.scm
- fi
-}
-
-src_test() {
- vecho ">>> Test phase [check]: ${CATEGORY}/${PF}"
- if ! GAMBCOPT="=." emake -j1 check; then
- hasq test $FEATURES && die "Make test failed. See above for details."
- hasq test $FEATURES || eerror "Make test failed. See above for details."
- fi
-}
-
-src_install() {
- einstall docdir=${D}/usr/share/doc/${PF} || die "einstall failed"
-
- rm ${D}/usr/current
-
- use big-iron && 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
- mv ${D}/usr/bin/gsc ${D}/usr/bin/gsc-gambit
-
- # remove emacs/site-lisp/gambit.el
- rm -r ${D}/usr/share/emacs
- if use emacs; then
- elisp-install ${PN} misc/*.{el,elc}
- elisp-site-file-install ${FILESDIR}/${SITEFILE}
- fi
-
- dodoc INSTALL.txt README
- insinto /usr/share/doc/${PF}
- doins -r examples
-
- # create some more explicit names
- dosym gsc-gambit usr/bin/gambit-compiler
- dosym gsi usr/bin/gambit-interpreter
-
-# dodir /etc/env.d/ && echo "GAMBCOPT=\"=/usr/\"" > ${D}/etc/env.d/50gambit
- echo "GAMBCOPT=\"=/usr/\"" > "${T}/50gambit" && doenvd "${T}/50gambit"
-
- ewarn "syntax-case will be automatically loaded for R5RS+ goodness"
- ewarn "edit /etc/gambcext if you want to set your own options"
- dosym /etc/gambcext /usr/gambcext
- echo "(load \"/usr/$(get_libdir)/syntax-case\")" > ${D}/etc/gambcext
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-scheme/gambit/gambit-4.0_beta22.ebuild b/dev-scheme/gambit/gambit-4.0_beta22.ebuild
deleted file mode 100644
index a91cadc0ed7b..000000000000
--- a/dev-scheme/gambit/gambit-4.0_beta22.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2008 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.9 2008/08/28 17:41:15 ulm Exp $
-
-inherit eutils elisp-common check-reqs autotools multilib
-
-MY_PN=gambc
-MY_PV=${PV//_beta/b}
-MY_P=${MY_PN}-${MY_PV}
-
-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 )"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-
-DEPEND="emacs? ( virtual/emacs )"
-
-SITEFILE="50gambit-gentoo.el"
-
-S=${WORKDIR}/${MY_P}
-
-IUSE="emacs big-iron"
-
-pkg_setup() {
- if ! use big-iron; then
- ewarn "not using gcc specific optimizations and not compiling syntax-case macro system"
- ewarn "approximately 0.5GB ram will be needed"
- ewarn "if you experience thrashing, try disabling parallel building"
- # need this much memory in MBytes (does *not* check swap)
- CHECKREQS_MEMORY="768" check_reqs
- else
- ewarn "using gcc specific optimizations and compiling syntax-case macro system"
- ewarn "this will cause approximately 2GB ram to be used instead of 0.5GB."
- ewarn "this will cause heavy thrashing of your system unless your system is big iron"
- # need this much memory in MBytes (does *not* check swap)
- CHECKREQS_MEMORY="2560" check_reqs
- fi
-}
-
-src_unpack() {
- unpack ${A}; cd "${S}"
- sed -e "s:PACKAGE_SUBDIR=\"/${MY_PV}\":PACKAGE_SUBDIR=\"/\":" -i configure.ac
- eautoreconf
-}
-
-src_compile() {
- econf --enable-shared --enable-single-host $(use_enable big-iron gcc-opts)
- emake || die "emake failed"
-
- if use emacs; then
- elisp-compile misc/*.el || die "elisp-compile failed"
- fi
-
- # compile syntax-case
- if use big-iron; then
- einfo "compiling syntax-case.scm..."
- LD_LIBRARY_PATH="lib/" GAMBCOPT="=." gsc/gsc misc/syntax-case.scm
- fi
-}
-
-src_test() {
- vecho ">>> Test phase [check]: ${CATEGORY}/${PF}"
- if ! GAMBCOPT="=." emake -j1 check; then
- hasq test $FEATURES && die "Make test failed. See above for details."
- hasq test $FEATURES || eerror "Make test failed. See above for details."
- fi
-}
-
-src_install() {
- einstall docdir=${D}/usr/share/doc/${PF} || die "einstall failed"
-
- rm ${D}/usr/current
-
- use big-iron && 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
- mv ${D}/usr/bin/gsc ${D}/usr/bin/gsc-gambit
-
- # remove emacs/site-lisp/gambit.el
- rm -r ${D}/usr/share/emacs
- if use emacs; then
- elisp-install ${PN} misc/*.{el,elc}
- elisp-site-file-install ${FILESDIR}/${SITEFILE}
- fi
-
- dodoc INSTALL.txt README
- insinto /usr/share/doc/${PF}
- doins -r examples
-
- # create some more explicit names
- dosym gsc-gambit usr/bin/gambit-compiler
- dosym gsi usr/bin/gambit-interpreter
-
- # automatically load syntax-case for r5rs+ goodness
- dodir /etc/env.d/ && echo "GAMBCOPT=\"=/usr/\"" > ${D}/etc/env.d/50gambit
- echo "(load \"/usr/$(get_libdir)/syntax-case\")" > ${D}/usr/gambcext
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-scheme/gambit/gambit-4.1.0.ebuild b/dev-scheme/gambit/gambit-4.1.0.ebuild
deleted file mode 100644
index ee47ce38d271..000000000000
--- a/dev-scheme/gambit/gambit-4.1.0.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/gambit-4.1.0.ebuild,v 1.2 2008/08/28 17:41:15 ulm Exp $
-
-inherit eutils elisp-common check-reqs autotools multilib
-
-MY_PN=gambc
-MY_PV=${PV//./_}
-MY_P=${MY_PN}-v${MY_PV}
-
-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/v${PV%.*}/source/${MY_P}.tgz"
-
-LICENSE="|| ( Apache-2.0 LGPL-2.1 )"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-
-DEPEND="emacs? ( virtual/emacs )"
-
-SITEFILE="50gambit-gentoo.el"
-
-S=${WORKDIR}/${MY_P}
-
-IUSE="big-iron emacs static"
-
-pkg_setup() {
- if ! use big-iron; then
- ewarn "NOT compiling each Scheme module as a single C function"
- ewarn "NOT using gcc specific optimizations"
-# ewarn "NOT compiling syntax-case macro system"
- ewarn "approximately 0.5GB ram will be needed"
- ewarn "if you experience thrashing, try disabling parallel building or setting -O1"
- # need this much memory in MBytes (does *not* check swap)
- CHECKREQS_MEMORY="768" check_reqs
- else
- ewarn "compiling each Scheme module as a single C function"
- ewarn "using gcc specific optimizations"
-# ewarn "compiling syntax-case macro system"
- ewarn "approximately 2GB ram will be needed instead of 0.5GB"
- ewarn "this will cause heavy thrashing of your system"
- ewarn "and may cause your compiler to crash when it runs out of memory"
- ewarn "unless your system is BIG IRON"
- # need this much memory in MBytes (does *not* check swap)
- CHECKREQS_MEMORY="2560" check_reqs
- fi
-}
-
-src_unpack() {
- unpack ${A}; cd "${S}"
-# cp configure.ac configure.ac.old
- sed -e 's:PACKAGE_SUBDIR="/$PACKAGE_VERSION"::' \
- -e 's:#PACKAGE_SUBDIR="":PACKAGE_SUBDIR="":' -i configure.ac
- #don't force -O1
- sed 's:$DASH_O1::' -i configure.ac
- eautoreconf
-# diff -u configure.ac.old configure.ac
-}
-
-src_compile() {
-# econf $(if use static; then echo --disable-shared; else echo --enable-shared; fi) \
- econf $(use_enable !static shared) $(use_enable big-iron single-host) $(use_enable big-iron gcc-opts)
-
- emake || die "emake failed"
-
- if use emacs; then
- elisp-compile misc/*.el || die "elisp-compile failed"
- fi
-
- # compile syntax-case
-# if use big-iron; then
-# einfo "compiling syntax-case.scm..."
-# LD_LIBRARY_PATH="lib/" GAMBCOPT="=." gsc/gsc misc/syntax-case.scm
-# fi
-}
-
-_src_test() {
- vecho ">>> Test phase [check]: ${CATEGORY}/${PF}"
- if ! GAMBCOPT="=." emake -j1 check; then
- hasq test $FEATURES && die "Make test failed. See above for details."
- hasq test $FEATURES || eerror "Make test failed. See above for details."
- fi
-}
-
-src_install() {
- einstall docdir=${D}/usr/share/doc/${PF} || die "einstall failed"
-
- rm ${D}/usr/current
-
-# use big-iron && 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
- mv ${D}/usr/bin/gsc ${D}/usr/bin/gsc-gambit
-
- # remove emacs/site-lisp/gambit.el
- rm -r ${D}/usr/share/emacs
- if use emacs; then
- elisp-install ${PN} misc/*.{el,elc}
- elisp-site-file-install ${FILESDIR}/${SITEFILE}
- fi
-
- dodoc INSTALL.txt README
- insinto /usr/share/doc/${PF}
- doins -r examples
-
- # create some more explicit names
- dosym gsc-gambit usr/bin/gambit-compiler
- dosym gsi usr/bin/gambit-interpreter
-
-# dodir /etc/env.d/ && echo "GAMBCOPT=\"=/usr/\"" > ${D}/etc/env.d/50gambit
- echo "GAMBCOPT=\"=/usr/\"" > "${T}/50gambit" && doenvd "${T}/50gambit"
-
-# ewarn "syntax-case will be automatically loaded for R5RS+ goodness"
-# ewarn "edit /etc/gambcext if you want to set your own options"
-# dosym /etc/gambcext /usr/gambcext
-# echo "(load \"/usr/$(get_libdir)/syntax-case\")" > ${D}/etc/gambcext
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-scheme/gambit/gambit-4.1.1.ebuild b/dev-scheme/gambit/gambit-4.1.1.ebuild
deleted file mode 100644
index c889b95dd1cb..000000000000
--- a/dev-scheme/gambit/gambit-4.1.1.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/gambit-4.1.1.ebuild,v 1.2 2008/08/28 17:41:15 ulm Exp $
-
-inherit eutils elisp-common check-reqs autotools multilib
-
-MY_PN=gambc
-MY_PV=${PV//./_}
-MY_P=${MY_PN}-v${MY_PV}
-
-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/v${PV%.*}/source/${MY_P}.tgz"
-
-LICENSE="|| ( Apache-2.0 LGPL-2.1 )"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-
-DEPEND="emacs? ( virtual/emacs )"
-
-SITEFILE="50gambit-gentoo.el"
-
-S=${WORKDIR}/${MY_P}
-
-IUSE="big-iron emacs static"
-
-pkg_setup() {
- if ! use big-iron; then
- ewarn "NOT compiling each Scheme module as a single C function"
- ewarn "NOT using gcc specific optimizations"
-# ewarn "NOT compiling syntax-case macro system"
- ewarn "approximately 0.5GB ram will be needed"
- ewarn "if you experience thrashing, try disabling parallel building or setting -O1"
- # need this much memory in MBytes (does *not* check swap)
- CHECKREQS_MEMORY="768" check_reqs
- else
- ewarn "compiling each Scheme module as a single C function"
- ewarn "using gcc specific optimizations"
-# ewarn "compiling syntax-case macro system"
- ewarn "approximately 2GB ram will be needed instead of 0.5GB"
- ewarn "this will cause heavy thrashing of your system"
- ewarn "and may cause your compiler to crash when it runs out of memory"
- ewarn "unless your system is BIG IRON"
- # need this much memory in MBytes (does *not* check swap)
- CHECKREQS_MEMORY="2560" check_reqs
- fi
-}
-
-src_unpack() {
- unpack ${A}; cd "${S}"
-# cp configure.ac configure.ac.old
- sed -e 's:PACKAGE_SUBDIR="/$PACKAGE_VERSION"::' \
- -e 's:#PACKAGE_SUBDIR="":PACKAGE_SUBDIR="":' -i configure.ac
- #don't force -O1
- sed 's:$DASH_O1::' -i configure.ac
- eautoreconf
-# diff -u configure.ac.old configure.ac
-}
-
-src_compile() {
- econf $(use_enable !static shared) $(use_enable big-iron single-host) $(use_enable big-iron gcc-opts)
-
- emake || die "emake failed"
-
- if use emacs; then
- elisp-compile misc/*.el || die "elisp-compile failed"
- fi
-
- #workaround
- mv gsi/libgambcgsi.so gsc/libgambcgsc.so lib/
-}
-
-src_install() {
- einstall docdir="${D}"/usr/share/doc/${PF} || die "einstall failed"
-
- rm "${D}"/usr/current
-
- mv "${D}"/usr/syntax-case.scm "${D}"/usr/$(get_libdir)
-
- # rename the /usr/bin/gsc to avoid collision with gsc from ghostscript
- mv "${D}"/usr/bin/gsc "${D}"/usr/bin/gsc-gambit
-
- # remove emacs/site-lisp/gambit.el
- rm -r "${D}"/usr/share/emacs
- if use emacs; then
- elisp-install ${PN} misc/*.{el,elc}
- elisp-site-file-install "${FILESDIR}"/${SITEFILE}
- fi
-
- dodoc INSTALL.txt README
- insinto /usr/share/doc/${PF}
- doins -r examples
-
- # create some more explicit names
- dosym gsc-gambit usr/bin/gambit-compiler
- dosym gsi usr/bin/gambit-interpreter
-
- echo "GAMBCOPT=\"=/usr/\"" > "${T}"/50gambit && doenvd "${T}"/50gambit
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-scheme/gambit/gambit-4.1.2.ebuild b/dev-scheme/gambit/gambit-4.1.2.ebuild
deleted file mode 100644
index 857b257f6416..000000000000
--- a/dev-scheme/gambit/gambit-4.1.2.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/gambit-4.1.2.ebuild,v 1.2 2008/08/28 17:41:15 ulm Exp $
-
-inherit eutils elisp-common check-reqs autotools multilib
-
-MY_PN=gambc
-MY_PV=${PV//./_}
-MY_P=${MY_PN}-v${MY_PV}
-
-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/v${PV%.*}/source/${MY_P}.tgz"
-
-LICENSE="|| ( Apache-2.0 LGPL-2.1 )"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-
-DEPEND="emacs? ( virtual/emacs )"
-
-SITEFILE="50gambit-gentoo.el"
-
-S=${WORKDIR}/${MY_P}
-
-IUSE="big-iron emacs static"
-
-pkg_setup() {
- if ! use big-iron; then
- ewarn "NOT compiling each Scheme module as a single C function"
- ewarn "NOT using gcc specific optimizations"
- ewarn "approximately 0.5GB ram will be needed"
- ewarn "if you experience thrashing, try disabling parallel building or setting -O1"
- # need this much memory in MBytes (does *not* check swap)
- CHECKREQS_MEMORY="768" check_reqs
- else
- ewarn "compiling each Scheme module as a single C function"
- ewarn "using gcc specific optimizations"
- ewarn "approximately 2GB ram will be needed instead of 0.5GB"
- ewarn "this will cause heavy thrashing of your system"
- ewarn "and may cause your compiler to crash when it runs out of memory"
- ewarn "unless your system is BIG IRON"
- # need this much memory in MBytes (does *not* check swap)
- CHECKREQS_MEMORY="2560" check_reqs
- fi
-}
-
-src_unpack() {
- unpack ${A}; cd "${S}"
-# cp configure.ac configure.ac.old
- sed -e 's:PACKAGE_SUBDIR="/$PACKAGE_VERSION"::' \
- -e 's:#PACKAGE_SUBDIR="":PACKAGE_SUBDIR="":' -i configure.ac
- #don't force -O1
- sed 's:$DASH_O1::' -i configure.ac
- eautoreconf
-# diff -u configure.ac.old configure.ac
-}
-
-src_compile() {
- econf $(use_enable !static shared) $(use_enable big-iron single-host) $(use_enable big-iron gcc-opts)
-
- emake || die "emake failed"
-
- if use emacs; then
- elisp-compile misc/*.el || die "elisp-compile failed"
- fi
-}
-
-src_install() {
- einstall docdir="${D}"/usr/share/doc/${PF} || die "einstall failed"
-
- rm "${D}"/usr/current
-
- mv "${D}"/usr/syntax-case.scm "${D}"/usr/$(get_libdir)
-
- # rename the /usr/bin/gsc to avoid collision with gsc from ghostscript
- mv "${D}"/usr/bin/gsc "${D}"/usr/bin/gsc-gambit
-
- # remove emacs/site-lisp/gambit.el
- rm -r "${D}"/usr/share/emacs
- if use emacs; then
- elisp-install ${PN} misc/*.{el,elc}
- elisp-site-file-install "${FILESDIR}"/${SITEFILE}
- fi
-
- dodoc INSTALL.txt README
- insinto /usr/share/doc/${PF}
- doins -r examples
-
- # create some more explicit names
- dosym gsc-gambit usr/bin/gambit-compiler
- dosym gsi usr/bin/gambit-interpreter
-
- echo "GAMBCOPT=\"=/usr/\"" > "${T}"/50gambit && doenvd "${T}"/50gambit
-}
-
-pkg_postinst() {
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/dev-scheme/gambit/gambit-4.4.0.ebuild b/dev-scheme/gambit/gambit-4.4.0.ebuild
index bdbd6fab6d5f..1a1738e66373 100644
--- a/dev-scheme/gambit/gambit-4.4.0.ebuild
+++ b/dev-scheme/gambit/gambit-4.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/gambit-4.4.0.ebuild,v 1.3 2009/01/05 21:16:19 hkbst Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gambit/gambit-4.4.0.ebuild,v 1.4 2009/01/28 16:46:59 hkbst Exp $
inherit eutils elisp-common check-reqs multilib
@@ -17,6 +17,7 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
DEPEND="emacs? ( virtual/emacs )"
+RDEPEND=""
SITEFILE="50gambit-gentoo.el"
diff --git a/dev-scheme/gambit/metadata.xml b/dev-scheme/gambit/metadata.xml
index 546d853bfb72..6dc936ce2d1c 100644
--- a/dev-scheme/gambit/metadata.xml
+++ b/dev-scheme/gambit/metadata.xml
@@ -2,8 +2,4 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>scheme</herd>
-<use>
- <flag name='big-iron'>Use expensive GCC optimizations and compile syntax-case macro
- system, try only if you have more than 2GB RAM</flag>
-</use>
</pkgmetadata>