summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2004-08-07 20:04:43 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2004-08-07 20:04:43 +0000
commit11c977b3df016b797133f7dfd883889d6b63baab (patch)
tree3497ea4d6bea5244b9dee26992296eb6a9407850 /dev-lisp
parentForce to apply for PHP-CLI only. (Manifest recommit) (diff)
downloadgentoo-2-11c977b3df016b797133f7dfd883889d6b63baab.tar.gz
gentoo-2-11c977b3df016b797133f7dfd883889d6b63baab.tar.bz2
gentoo-2-11c977b3df016b797133f7dfd883889d6b63baab.zip
*** empty log message ***
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/gcl/ChangeLog9
-rw-r--r--dev-lisp/gcl/Manifest2
-rw-r--r--dev-lisp/gcl/files/digest-gcl-2.6.41
-rw-r--r--dev-lisp/gcl/gcl-2.6.4.ebuild141
-rw-r--r--dev-lisp/gcl/metadata.xml7
5 files changed, 158 insertions, 2 deletions
diff --git a/dev-lisp/gcl/ChangeLog b/dev-lisp/gcl/ChangeLog
index 8158e0025521..942fc9805d69 100644
--- a/dev-lisp/gcl/ChangeLog
+++ b/dev-lisp/gcl/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-lisp/gcl
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/ChangeLog,v 1.21 2004/08/07 05:22:07 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/ChangeLog,v 1.22 2004/08/07 20:04:43 mkennedy Exp $
+
+*gcl-2.6.4 (07 Aug 2004)
+
+ 07 Aug 2004; <mkennedy@gentoo.org> +gcl-2.6.4.ebuild:
+ Fixed --enable-ansi typo; Added support for profiling; Added support for
+ choosing between dlopen, custreloc or bfd linking mechanisms; Fixed tcltk
+ logic error; New upstream version
*gcl-2.6.3 (06 Aug 2004)
diff --git a/dev-lisp/gcl/Manifest b/dev-lisp/gcl/Manifest
index 9998b048f91a..986421963c3f 100644
--- a/dev-lisp/gcl/Manifest
+++ b/dev-lisp/gcl/Manifest
@@ -1,6 +1,7 @@
MD5 29e92c25f0bc663902efb758e2f7e43d gcl-2.4.0.ebuild 1339
MD5 8c799e2d46e1f2d6efa432f12f166e31 gcl-2.6.2.ebuild 1989
MD5 845b5ed2b1a28adf108ab63eecf10058 gcl-2.4.3.ebuild 2122
+MD5 1be8f86d9513328d4284d0317c577a83 gcl-2.6.4.ebuild 2326
MD5 6e2df427db74fc0608117017db2a77cd gcl-2.5.3.ebuild 1791
MD5 1be8f86d9513328d4284d0317c577a83 gcl-2.6.3.ebuild 2326
MD5 ea024131a545fa4a5fc712bd871b3c42 gcl-2.5.2.ebuild 1570
@@ -8,6 +9,7 @@ MD5 fec3213b902d53254df6a792cf78cf96 ChangeLog 3257
MD5 9b65b0341efc8f4b29498aad23315229 metadata.xml 164
MD5 6d1f14e922df6f4c5dc85add92b3ae45 files/digest-gcl-2.5.3 62
MD5 156148113705b926d9ef1c4bf5611c80 files/digest-gcl-2.4.3 59
+MD5 cce80e0951bd17957cf0d108e54c8fb5 files/digest-gcl-2.6.4 62
MD5 56a2d3ad5e0c6efc29def8d13cae414c files/digest-gcl-2.6.3 62
MD5 0a7011ac48a39981a19619ec9f53e37d files/digest-gcl-2.5.2 62
MD5 ebf9ac3ed9129b8c967416164e1b8dcf files/digest-gcl-2.4.0 59
diff --git a/dev-lisp/gcl/files/digest-gcl-2.6.4 b/dev-lisp/gcl/files/digest-gcl-2.6.4
new file mode 100644
index 000000000000..b741ac8b7dee
--- /dev/null
+++ b/dev-lisp/gcl/files/digest-gcl-2.6.4
@@ -0,0 +1 @@
+MD5 8e0ba862a1eff4a92523eecaff1b509a gcl-2.6.4.tar.gz 8245898
diff --git a/dev-lisp/gcl/gcl-2.6.4.ebuild b/dev-lisp/gcl/gcl-2.6.4.ebuild
new file mode 100644
index 000000000000..ed500ca789a8
--- /dev/null
+++ b/dev-lisp/gcl/gcl-2.6.4.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/gcl-2.6.4.ebuild,v 1.1 2004/08/07 20:04:43 mkennedy Exp $
+
+inherit elisp-common flag-o-matic
+
+DESCRIPTION="GNU Common Lisp"
+HOMEPAGE="http://www.gnu.org/software/gcl/gcl.html"
+SRC_URI="ftp://ftp.gnu.org/gnu/gcl/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="emacs readline debug X tcltk ansi custreloc dlopen gprof"
+
+DEPEND=">=app-text/texi2html-1.64
+ emacs? ( virtual/emacs )
+ X? ( virtual/x11 )
+ readline? ( sys-libs/readline )
+ >=dev-libs/gmp-4.1
+ virtual/tetex"
+
+src_unpack() {
+ unpack ${A}
+ sed -e "s/gcl-doc/${PF}/g" ${S}/info/makefile > ${T}/makefile
+ mv ${T}/makefile ${S}/info/makefile
+}
+
+src_compile() {
+ local myconfig=""
+
+ # Hardened gcc may automatically use PIE building, which does not
+ # work for this package so far
+
+ filter-flags "-fPIC"
+
+ # -fomit-frame-pointer cannot be used with gprof
+
+ if use gprof; then
+ filter-flags "-fomit-frame-pointer"
+ fi
+
+ # Linking options are enumerated at
+ # http://www.gnu.org/software/gcl/RELEASE-2.6.2.html
+
+ local dlopen_config="
+ --disable-custreloc
+ --enable-dlopen
+ --disable-dynsysbfd
+ --disable-statsysbfd";
+
+ local bfd_config="
+ --disable-custreloc
+ --disable-dlopen
+ --enable-dynsysbfd
+ --disable-statsysbfd";
+
+ local custreloc_config="
+ --enable-custreloc
+ --disable-dlopen
+ --disable-dynsysbfd
+ --disable-statsysbfd";
+
+ if use custreloc; then
+ case "${ARCH}" in
+ x86 | sparc)
+ myconfig="${myconfig} ${custreloc_config}";;
+ *)
+ ewarn "--enable-custreloc is not supported on your architecture (${ARCH})."
+ ewarn "Using --enable-dlopen instead."
+ myconfig="${myconfig} ${dlopen_config}"
+
+ esac
+ elif use dlopen; then
+ myconfig="${myconfig} ${dlopen_config}"
+ else
+ case "${ARCH}" in
+ x86 | sparc | ppc | amd64 | s390)
+ myconfig="${myconfig} ${bfd_config}";;
+ *)
+ ewarn "BFD is not supported on your architecture (${ARCH})."
+ ewarn "Using --enable-dlopen instead."
+ myconfig="${myconfig} ${dlopen_config}";;
+ esac
+ fi
+
+ if use tcltk; then
+ myconfig="${myconfig}
+ --enable-tkconfig=/usr/lib
+ --enable-tclconfig=/usr/lib"
+ fi
+
+ myconfig="${myconfig}
+ --enable-dynsysgmp
+ `use_enable readline readline`
+ `use_with X x`
+ `use_enable debug debug`
+ `use_enable ansi ansi`
+ `use_enable gprof gprof`
+ --enable-xdr=no
+ --enable-infodir=/usr/share/info
+ --enable-emacsdir=/usr/share/emacs/site-lisp/gcl"
+
+ einfo "Configuring with the following:
+${myconfig}"
+ econf ${myconfig} || die
+ make || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ rm -rf ${D}/usr/lib/${P}/info
+
+ if use emacs ; then
+ mv elisp/add-default.el ${T}/50gcl-gentoo.el
+ elisp-site-file-install ${T}/50gcl-gentoo.el
+ elisp-install ${PN} elisp/*
+ fi
+
+ dosed /usr/bin/gcl
+ fperms 0755 /usr/bin/gcl
+
+ # fix the GCL_TK_DIR=/var/tmp/portage/${P}/image//
+ dosed /usr/lib/${P}/gcl-tk/gcltksrv
+ fperms 0755 /usr/lib/${P}/gcl-tk/gcltksrv
+
+ #repair gcl.exe symlink
+ #rm ${D}/usr/bin/gcl.exe
+ dosym ../lib/${P}/unixport/saved_gcl /usr/bin/gcl.exe
+
+ dodoc readme* RELEASE* ChangeLog* doc/*
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/dev-lisp/gcl/metadata.xml b/dev-lisp/gcl/metadata.xml
index f418045b09c8..0abc3a7aefa5 100644
--- a/dev-lisp/gcl/metadata.xml
+++ b/dev-lisp/gcl/metadata.xml
@@ -1,5 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>common-lisp</herd>
+ <herd>common-lisp</herd>
+ <longdescription>
+ GCL is the official Common Lisp for the GNU project. Its design
+ makes use of the system's C compiler to compile to native object
+ code, providing for both good performance and facile portability.
+ </longdescription>
</pkgmetadata>