diff options
author | Andrey Grozin <grozin@gentoo.org> | 2009-08-22 06:58:08 +0000 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2009-08-22 06:58:08 +0000 |
commit | 829f8ac8b47788af9ebd4600ecdf54ffc97c97ef (patch) | |
tree | 0ce52d780fcbd273ff0b2f1ef7a114672bb98432 /dev-lisp | |
parent | Initial import from bug 278265. (diff) | |
download | gentoo-2-829f8ac8b47788af9ebd4600ecdf54ffc97c97ef.tar.gz gentoo-2-829f8ac8b47788af9ebd4600ecdf54ffc97c97ef.tar.bz2 gentoo-2-829f8ac8b47788af9ebd4600ecdf54ffc97c97ef.zip |
Version bump (from the lisp overlay)
(Portage version: 2.2_rc38/cvs/Linux i686)
Diffstat (limited to 'dev-lisp')
-rw-r--r-- | dev-lisp/ecls/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lisp/ecls/ecls-9.8.4.ebuild | 62 | ||||
-rw-r--r-- | dev-lisp/ecls/files/9.8.4-headers-gentoo.patch | 17 | ||||
-rw-r--r-- | dev-lisp/ecls/metadata.xml | 2 |
4 files changed, 89 insertions, 2 deletions
diff --git a/dev-lisp/ecls/ChangeLog b/dev-lisp/ecls/ChangeLog index fb5534dd9980..82418576b5ff 100644 --- a/dev-lisp/ecls/ChangeLog +++ b/dev-lisp/ecls/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lisp/ecls -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/ecls/ChangeLog,v 1.28 2008/07/28 18:57:50 pchrist Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/ecls/ChangeLog,v 1.29 2009/08/22 06:58:08 grozin Exp $ + +*ecls-9.8.4 (22 Aug 2009) + + 22 Aug 2009; Andrey Grozin <grozin@gentoo.org> + +files/9.8.4-headers-gentoo.patch, +ecls-9.8.4.ebuild, metadata.xml: + Version bump (from the lisp overlay) 28 Jul 2008; Panagiotis Christopoulos <pchrist@gentoo.org> metadata.xml: Update metadata.xml to include USE flag descriptions. Entries taken from diff --git a/dev-lisp/ecls/ecls-9.8.4.ebuild b/dev-lisp/ecls/ecls-9.8.4.ebuild new file mode 100644 index 000000000000..c582a01bfeb7 --- /dev/null +++ b/dev-lisp/ecls/ecls-9.8.4.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/ecls/ecls-9.8.4.ebuild,v 1.1 2009/08/22 06:58:08 grozin Exp $ + +EAPI=2 +inherit eutils multilib + +MY_P=ecl-${PV} + +DESCRIPTION="ECL is an embeddable Common Lisp implementation." +HOMEPAGE="http://common-lisp.net/project/ecl/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" +RESTRICT="mirror" + +LICENSE="BSD LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="X c++ +threads +unicode" + +RDEPEND="dev-libs/gmp + dev-libs/libffi + >=dev-libs/boehm-gc-7.1[threads?] + c++? ( dev-libs/boehm-gc[-nocxx] )" +DEPEND="${RDEPEND} + app-text/texi2html" +PDEPEND="dev-lisp/gentoo-init" + +PROVIDE="virtual/commonlisp" + +S="${WORKDIR}"/ecl-${PV} + +src_prepare() { + epatch "${FILESDIR}"/${PV}-headers-gentoo.patch +} + +src_configure() { + econf \ + --with-system-gmp \ + --enable-boehm=system \ + --enable-gengc \ + --enable-longdouble \ + $(use_with c++ cxx) \ + $(use_enable threads) \ + $(use_with threads __thread) \ + $(use_enable unicode) \ + $(use_with X x) \ + $(use_with X clx) \ + || die "econf failed" +} + +src_compile() { + #parallel fails + emake -j1 || die "make failed" +} + +src_install () { + emake DESTDIR="${D}" install || die "Could not build ECL" + + dohtml doc/*.html + dodoc ANNOUNCEMENT Copyright + dodoc "${FILESDIR}"/README.Gentoo +} diff --git a/dev-lisp/ecls/files/9.8.4-headers-gentoo.patch b/dev-lisp/ecls/files/9.8.4-headers-gentoo.patch new file mode 100644 index 000000000000..635fc5d4afde --- /dev/null +++ b/dev-lisp/ecls/files/9.8.4-headers-gentoo.patch @@ -0,0 +1,17 @@ +diff -Naur ecl-8.12.0.orig/src/h/object.h ecl-8.12.0/src/h/object.h +--- ecl.orig/src/h/object.h 2008-12-17 16:41:53.000000000 +0100 ++++ ecl/src/h/object.h 2008-12-17 19:35:05.000000000 +0100 +@@ -23,8 +23,13 @@ + Integer and boolean types (see config.h) + */ + ++#ifndef TRUE + #define TRUE 1 /* boolean true value */ ++#endif ++ ++#ifndef FALSE + #define FALSE 0 /* boolean false value */ ++#endif + + #if !defined(__cplusplus) && !defined(bool) + typedef int bool; diff --git a/dev-lisp/ecls/metadata.xml b/dev-lisp/ecls/metadata.xml index 08a8adc82f7d..7dae47b79215 100644 --- a/dev-lisp/ecls/metadata.xml +++ b/dev-lisp/ecls/metadata.xml @@ -10,5 +10,7 @@ standalone executables. </longdescription> <use> <flag name='c++'>Build ECL with a C++ compiler</flag> +<flag name='threads'>Support for native threads</flag> +<flag name='unicode'>Support for unicode</flag> </use> </pkgmetadata> |