diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2004-01-26 19:21:44 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2004-01-26 19:21:44 +0000 |
commit | a2a0c2675bda6f970efacd9aab48da4b5276337b (patch) | |
tree | fd29051917042c47be3728de19ebe3b8e59c0f05 /dev-lisp | |
parent | Version bump, needed for vls. (Manifest recommit) (diff) | |
download | gentoo-2-a2a0c2675bda6f970efacd9aab48da4b5276337b.tar.gz gentoo-2-a2a0c2675bda6f970efacd9aab48da4b5276337b.tar.bz2 gentoo-2-a2a0c2675bda6f970efacd9aab48da4b5276337b.zip |
*** empty log message ***
Diffstat (limited to 'dev-lisp')
-rw-r--r-- | dev-lisp/clisp/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lisp/clisp/Manifest | 4 | ||||
-rw-r--r-- | dev-lisp/clisp/clisp-2.32-r1.ebuild | 126 | ||||
-rw-r--r-- | dev-lisp/clisp/files/clisp.sh | 2 | ||||
-rw-r--r-- | dev-lisp/clisp/files/digest-clisp-2.32-r1 | 1 |
5 files changed, 138 insertions, 3 deletions
diff --git a/dev-lisp/clisp/ChangeLog b/dev-lisp/clisp/ChangeLog index adba9f9d3ee7..509b7f5ddcb7 100644 --- a/dev-lisp/clisp/ChangeLog +++ b/dev-lisp/clisp/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lisp/clisp # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/ChangeLog,v 1.12 2004/01/11 09:50:39 mkennedy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/ChangeLog,v 1.13 2004/01/26 19:21:44 mkennedy Exp $ + +*clisp-2.32-r1 (15 Jan 2004) + + 15 Jan 2004; <mkennedy@gentoo.org> clisp-2.32-r1.ebuild, files/clisp.sh: + fix paths for postgresql client headers, force clisp to use UTF-8 for + *default-file-encoding* when compiling for the controller *clisp-2.32 (11 Jan 2004) diff --git a/dev-lisp/clisp/Manifest b/dev-lisp/clisp/Manifest index 6d8a80f8dd1f..6b1787d9e74d 100644 --- a/dev-lisp/clisp/Manifest +++ b/dev-lisp/clisp/Manifest @@ -3,10 +3,11 @@ MD5 49613e495da0b6f83016281175cb56c3 clisp-2.28.ebuild 1380 MD5 44ca75fcfa29c894ce368e2a05834a04 clisp-2.29.ebuild 1435 MD5 41aa178dc9617efc0c8f8d72d658dd81 clisp-2.30-r1.ebuild 2197 MD5 a881823bfbd7a3504b176a965ee2b266 clisp-2.30.ebuild 1460 -MD5 00284072d47a76860fe005a97f8d2ece clisp-2.32.ebuild 3781 MD5 485cde76397408cf913fc6d4c7a45a67 metadata.xml 882 MD5 696a13636ace75f2840e73a4bd8c5433 clisp-2.31.ebuild 2907 MD5 71f82f22579ae31fffda2943f3428c5f clisp-2.31-r1.ebuild 3820 +MD5 5b7782d622c0d1ebf64c049adf40e41d clisp-2.32-r1.ebuild 3872 +MD5 00284072d47a76860fe005a97f8d2ece clisp-2.32.ebuild 3781 MD5 c112ebf612bf8e262c4285fd4c7e9553 files/clisp-2.30-gentoo.patch 1301 MD5 ec015c64b7aca6f6721123c27d7d921c files/clisp-2.30-linux.lisp-upstream.patch 4712 MD5 fe93240f140623bf55d2e503f6d8e01e files/clisp.sh 2792 @@ -18,6 +19,7 @@ MD5 27760908e107e35ff838560fb5381d5b files/digest-clisp-2.31 64 MD5 bf978d68f0161bacd6772c07dfade6fa files/install-clc.lisp 484 MD5 27760908e107e35ff838560fb5381d5b files/digest-clisp-2.31-r1 64 MD5 da9eb2a136566bdce0620c950df941b2 files/digest-clisp-2.32 64 +MD5 da9eb2a136566bdce0620c950df941b2 files/digest-clisp-2.32-r1 64 MD5 9b76ca10cf785d54c75803e8fddc91cb files/2.31/bindings-glibc-linux.lisp-gentoo.patch 1292 MD5 9db8f3ac2974a7d9725148ecc0709cc8 files/2.31/bindings-wildcard-fnmatch.c-gentoo.patch 1248 MD5 ff3506766c1fc9216e04f650f39c0e94 files/2.31/fastcgi-Makefile.in-gentoo.patch 654 diff --git a/dev-lisp/clisp/clisp-2.32-r1.ebuild b/dev-lisp/clisp/clisp-2.32-r1.ebuild new file mode 100644 index 000000000000..7b513eb6355a --- /dev/null +++ b/dev-lisp/clisp/clisp-2.32-r1.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/clisp/clisp-2.32-r1.ebuild,v 1.1 2004/01/26 19:21:44 mkennedy Exp $ + +inherit flag-o-matic + +IUSE="X threads fastcgi postgres ldap nls berkdb" + +# Handle the case where the user has some other -falign-functions +# option set. Bug 34630. + +if ! is-flag '-falign-functions=4' \ + && expr "$CFLAGS" : '.*\(-falign-functions=[[:digit:]]\+\)' >/dev/null; then + CFLAGS=${CFLAGS/\ +$(expr "$CFLAGS" : '.*\(-falign-functions=[[:digit:]]\+\)')/\ +-falign-functions=4} +fi + +# Fails to compile without -falign-functions=4 when -march=pentium4 +# (or -march=pentium3, sometimes??) is defined. Bugs 33425 and 34630. + +if (is-flag '-march=pentium4' || is-flag '-march=pentium3') \ + && ! is-flag '-falign-functions=4'; then + append-flags '-falign-functions=4' +fi + +# Athlon XP users report problems with -O3 optimization. In this +# block, we remove any optimization flag. Depending on bug 34497. we +# may be able to reduce optimization to -O2. + +if is-flag '-march=athlon-xp'; then + filter-flags '-O*' +fi + +DESCRIPTION="A portable, bytecode-compiled implementation of Common Lisp" +HOMEPAGE="http://clisp.sourceforge.net/" +SRC_URI="mirror://sourceforge/clisp/${P}.tar.bz2" +S=${WORKDIR}/${P} +DEPEND="dev-libs/libsigsegv + dev-lisp/common-lisp-controller + fastcgi? ( dev-libs/fcgi ) + postgres? ( dev-db/postgresql ) + X? ( x11-base/xfree ) + ldap? ( net-nds/openldap ) + readline? ( sys-libs/readline ) + nls? ( sys-devel/gettext ) + berkdb? ( =sys-libs/db-4* )" +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~x86" + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${PV}/fastcgi-Makefile.in-gentoo.patch + epatch ${FILESDIR}/${PV}/format.lisp-gentoo.patch +} + +src_compile() { + einfo "Using CFLAGS: ${CFLAGS}" + export CC="${CC} ${CFLAGS}" + unset CFLAGS CXXFLAGS + local myconf="--with-dynamic-ffi + --with-unicode + --with-module=regexp + --with-module=syscalls + --with-module=wildcard + --with-module=bindings/glibc" + use readline || myconf="${myconf} --with-noreadline" + use nls || myconf="${myconf} --with-nogettext" + use X && myconf="${myconf} --with-module=clx/new-clx" + if use postgres; then + myconf="${myconf} --with-module=postgresql" + CC="${CC} -I $(pg_config --includedir)" + fi + use fastcgi && myconf="${myconf} --with-module=fastcgi" +# use berkdb && myconf="${myconf} --with-module=berkeley-db" # needs work +# use ldap && myconf="${myconf} --with-module=dirkey" # openldap is broken +# use threads && myconf="${myconf} --with-threads=POSIX_THREADS" # broken + ./configure --prefix=/usr ${myconf} build || die "./configure failed" + cd build + ./makemake ${myconf} >Makefile + make config.lisp + sed -i 's,"vi","nano",g' config.lisp + make || die +} + +src_install() { + cd build && make DESTDIR=${D} prefix=/usr install-bin || die + + doman clisp.1 + dodoc SUMMARY README* NEWS MAGIC.add GNU-GPL COPYRIGHT \ + ANNOUNCE clisp.dvi clisp.html + + rm -f ${D}/usr/lib/clisp/base/* + (cd ${D}/usr/lib/clisp/base && ln -s ../full/* .) + chmod a+x ${D}/usr/lib/clisp/clisp-link + + # install common-lisp-controller profile + exeinto /usr/lib/common-lisp/bin + doexe ${FILESDIR}/clisp.sh + insinto /usr/lib/clisp + doins ${FILESDIR}/install-clc.lisp + + keepdir /usr/lib/common-lisp/clisp +} + +pkg_preinst() { + local clisp_dir=/usr/lib/clisp + local old_mem=$clisp_dir/full/lispinit.mem + local new_mem=$clisp_dir/full/lispinit-new.mem + local clean_mem=$clisp_dir/full/lispinit-clean.mem + local lisp_run=$clisp_dir/full/lisp.run + + rm -f $old_mem $new_mem $clean_mem $lisp_run +} + +pkg_postinst() { + chown cl-builder:cl-builder /usr/lib/common-lisp/clisp + rm -rf /usr/lib/common-lisp/clisp/* || true + /usr/bin/clc-autobuild-impl clisp yes + /usr/sbin/register-common-lisp-implementation clisp +} + +pkg_prerm() { + rm -rf /usr/lib/common-lisp/clisp/* || true +} diff --git a/dev-lisp/clisp/files/clisp.sh b/dev-lisp/clisp/files/clisp.sh index f5ed6a1d8fce..68d23a96c280 100644 --- a/dev-lisp/clisp/files/clisp.sh +++ b/dev-lisp/clisp/files/clisp.sh @@ -35,7 +35,7 @@ case $1 in shift while [ -x $builder ] && [ ! -z "$1" ] ; do echo ...rebuilding $1 - $builder -norc -q -M $old_mem -x " + $builder -norc -q -Efile utf-8 -M $old_mem -x " (let ((*compile-print* nil) (*compile-progress* nil) (*compile-verbose* nil) diff --git a/dev-lisp/clisp/files/digest-clisp-2.32-r1 b/dev-lisp/clisp/files/digest-clisp-2.32-r1 new file mode 100644 index 000000000000..969a97673b14 --- /dev/null +++ b/dev-lisp/clisp/files/digest-clisp-2.32-r1 @@ -0,0 +1 @@ +MD5 20a036128ec04e7a48d44c1a1c6f8afe clisp-2.32.tar.bz2 5982226 |