From: "Erik Falor" <ewfalor@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/lisp:master commit in: dev-scheme/chicken/
Date: Mon, 27 Feb 2012 17:18:06 +0000 (UTC) [thread overview]
Message-ID: <1330228118.8e076d6cbe00f639ea6e3e02c2c72fb1f4515b14.erik_falor@gentoo> (raw)
commit: 8e076d6cbe00f639ea6e3e02c2c72fb1f4515b14
Author: fadein <fadein <AT> gemini <DOT> doesntexist <DOT> org>
AuthorDate: Sun Feb 26 03:48:38 2012 +0000
Commit: Erik Falor <ewfalor <AT> gmail <DOT> com>
CommitDate: Sun Feb 26 03:48:38 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/lisp.git;a=commit;h=8e076d6c
dev-scheme/chicken: bump to 4.7.0; fix bug #335418
---
dev-scheme/chicken/chicken-4.7.0.ebuild | 76 +++++++++++++++++++++++++++++++
1 files changed, 76 insertions(+), 0 deletions(-)
diff --git a/dev-scheme/chicken/chicken-4.7.0.ebuild b/dev-scheme/chicken/chicken-4.7.0.ebuild
new file mode 100644
index 0000000..aad6f87
--- /dev/null
+++ b/dev-scheme/chicken/chicken-4.7.0.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+
+EAPI="3"
+
+inherit eutils multilib
+
+DESCRIPTION="Chicken is a Scheme interpreter and native Scheme to C compiler"
+HOMEPAGE="http://www.call-cc.org/"
+SRC_URI="http://code.call-cc.org/releases/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
+IUSE="emacs"
+
+DEPEND="sys-apps/texinfo
+ emacs? ( virtual/emacs )"
+RDEPEND="emacs? ( virtual/emacs app-emacs/scheme-complete )"
+
+## the major mode for Chicken source
+SITEFILE=50hen-gentoo.el
+
+src_prepare() {
+ #Because chicken's Upstream have a custom to use variables that also
+ #portage uses. Fixes #393561
+ unset A ARCH
+ sed "s,\$(PREFIX)/lib,\$(PREFIX)/$(get_libdir)," -i defaults.make || die "sed failed"
+ sed "s,\$(DATADIR)/doc,\$(SHAREDIR)/doc/${P}," -i defaults.make || die "sed failed"
+}
+
+src_compile() {
+ OPTIONS="PLATFORM=linux PREFIX=/usr"
+ #Because chicken's Upstream have a custom to use variables that also
+ #portage uses. Fixes #393561
+ unset A ARCH
+
+ #upstream does not yet support parallel builds, bug 265881
+ #LINKER_OPTIONS doesn't seem to be incorporated into Makefile.linux -
+ #might have to patch it...
+ emake -j1 ${OPTIONS} C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}" \
+ LINKER_OPTIONS="${LDFLAGS}" \
+ HOSTSYSTEM="${CBUILD}" || die "emake failed"
+}
+
+# chicken's testsuite is not runnable before install
+# upstream has been notified of the issue
+RESTRICT=test
+
+src_install() {
+ #Because chicken's Upstream have a custom to use variables that also
+ #portage uses. Fixes #393561
+ unset A ARCH
+
+ #upstream does not yet support parallel builds, bug 265881
+ emake -j1 ${OPTIONS} DESTDIR="${D}" HOSTSYSTEM="${CBUILD}" \
+ LINKER_OPTIONS="${LDFLAGS}" \
+ install || die
+
+ rm "${D}"/usr/share/doc/${P}/LICENSE || die
+ dodoc NEWS || die
+
+ if use emacs; then
+ elisp-install ${PN} hen.{el,elc} || die
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die
+ fi
+}
+
+pkg_postinst()
+{
+ #Because we pass DESTDIR= to make back in src_install(), the build
+ #won't automatically run chicken-install -update-db at that time.
+ chicken-install -update-db
+}
next reply other threads:[~2012-02-27 17:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-27 17:18 Erik Falor [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-01-10 20:49 [gentoo-commits] proj/lisp:master commit in: dev-scheme/chicken/ Erik Falor
2013-01-16 17:28 Erik Falor
2013-01-17 23:16 Erik Falor
2013-02-03 0:02 Erik Falor
2014-09-17 3:56 Erik Falor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1330228118.8e076d6cbe00f639ea6e3e02c2c72fb1f4515b14.erik_falor@gentoo \
--to=ewfalor@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox