summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2005-08-14 00:27:53 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2005-08-14 00:27:53 +0000
commita1fb3d32ab4a1515388302c4feda34be186aac73 (patch)
tree37d36f1863821f727a0ca36decaa4e2b5e10e611 /dev-lisp/gcl
parentFixed bugs #98342 #93744 and #91930 and updated to the latest version (diff)
downloadhistorical-a1fb3d32ab4a1515388302c4feda34be186aac73.tar.gz
historical-a1fb3d32ab4a1515388302c4feda34be186aac73.tar.bz2
historical-a1fb3d32ab4a1515388302c4feda34be186aac73.zip
AS PER THE CHANGELOG: "New upstream version."
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'dev-lisp/gcl')
-rw-r--r--dev-lisp/gcl/ChangeLog7
-rw-r--r--dev-lisp/gcl/Manifest14
-rw-r--r--dev-lisp/gcl/files/digest-gcl-2.6.71
-rw-r--r--dev-lisp/gcl/gcl-2.6.7.ebuild160
4 files changed, 180 insertions, 2 deletions
diff --git a/dev-lisp/gcl/ChangeLog b/dev-lisp/gcl/ChangeLog
index 3bb531860e2a..872ca5405fe2 100644
--- a/dev-lisp/gcl/ChangeLog
+++ b/dev-lisp/gcl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lisp/gcl
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/ChangeLog,v 1.29 2005/04/22 09:46:11 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/ChangeLog,v 1.30 2005/08/14 00:27:53 mkennedy Exp $
+
+*gcl-2.6.7 (14 Aug 2005)
+
+ 14 Aug 2005; Matthew Kennedy <mkennedy@gentoo.org> +gcl-2.6.7.ebuild:
+ New upstream version.
22 Apr 2005; Simon Stelling <blubb@gentoo.org> gcl-2.6.6.ebuild:
stable on amd64
diff --git a/dev-lisp/gcl/Manifest b/dev-lisp/gcl/Manifest
index 4837eecbdab6..0864c7afa321 100644
--- a/dev-lisp/gcl/Manifest
+++ b/dev-lisp/gcl/Manifest
@@ -1,4 +1,16 @@
-MD5 66f0b2f766fe6d9abea6582e5bf13931 ChangeLog 4509
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 85d42ed63647f79d351643d53d77915e ChangeLog 4635
MD5 299f75f2510c48ed9b775e6f87400fb1 gcl-2.6.6.ebuild 3779
MD5 76c0f2f918c95b927960b6dd7f700d32 metadata.xml 414
+MD5 382c725a970124e9b8da30e98980751d gcl-2.6.7.ebuild 3782
+MD5 bc36d4fbf49d4faa858862d3551da607 files/digest-gcl-2.6.7 62
MD5 91930d3515af8406b00bbddaa287b9a3 files/digest-gcl-2.6.6 62
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFC/pBAyiNZaEAZA+ARAuKeAJsE4CuaNm6v6+iqEXQmLGusIclovQCdGIuZ
+1GGQznrBK6s2mk0SmMTznrk=
+=u+AQ
+-----END PGP SIGNATURE-----
diff --git a/dev-lisp/gcl/files/digest-gcl-2.6.7 b/dev-lisp/gcl/files/digest-gcl-2.6.7
new file mode 100644
index 000000000000..7c9e5b93be54
--- /dev/null
+++ b/dev-lisp/gcl/files/digest-gcl-2.6.7
@@ -0,0 +1 @@
+MD5 c0f42e1f391162e5ac90912a70e8ecc3 gcl-2.6.7.tar.gz 8193901
diff --git a/dev-lisp/gcl/gcl-2.6.7.ebuild b/dev-lisp/gcl/gcl-2.6.7.ebuild
new file mode 100644
index 000000000000..0ec2d0e868d7
--- /dev/null
+++ b/dev-lisp/gcl/gcl-2.6.7.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/gcl-2.6.7.ebuild,v 1.1 2005/08/14 00:27:53 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 ~ppc amd64"
+IUSE="emacs readline debug X tcltk custreloc dlopen gprof doc ansi"
+
+DEPEND=">=app-text/texi2html-1.64
+ emacs? ( virtual/emacs )
+ X? ( virtual/x11 )
+ readline? ( sys-libs/readline )
+ >=dev-libs/gmp-4.1
+ doc? ( virtual/tetex )
+ tcltk? ( dev-lang/tk )"
+
+SANDBOX_DISABLED="1"
+
+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
+
+ # Unfortunately, we need to override any relocation choices below
+ # while upstream doesn't work with system BFD. SuSE has the same
+ # problem apparently.
+
+ if false; then
+
+ # 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
+
+ else
+ myconfig="${myconfig} --enable-locbfd --disable-dynsysbfd --disable-statsysbfd"
+ 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 gprof gprof`
+ `use_enable ansi ansi`
+ --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
+ mv ${D}/default.el elisp/
+
+ 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/*
+ fperms 0644 /usr/share/emacs/site-lisp/gcl/*
+ else
+ rm -rf ${D}/usr/share/emacs
+ 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/*
+
+ find ${D}/usr/lib/gcl-2.6.5/ -type f \( -perm 640 -o -perm 750 \) -exec chmod 0644 '{}' \;
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}