diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2004-12-06 16:02:54 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2004-12-06 16:02:54 +0000 |
commit | 012fdd9f65e42dd6ce404c39142eb12681ab6be7 (patch) | |
tree | 7ddd3d3fd911f454b76ca7cff1b156487ede835b /dev-lisp/gcl | |
parent | fixes bug #41243, added metadata.xml (diff) | |
download | historical-012fdd9f65e42dd6ce404c39142eb12681ab6be7.tar.gz historical-012fdd9f65e42dd6ce404c39142eb12681ab6be7.tar.bz2 historical-012fdd9f65e42dd6ce404c39142eb12681ab6be7.zip |
*** empty log message ***
Diffstat (limited to 'dev-lisp/gcl')
-rw-r--r-- | dev-lisp/gcl/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lisp/gcl/Manifest | 14 | ||||
-rw-r--r-- | dev-lisp/gcl/files/digest-gcl-2.6.5 | 1 | ||||
-rw-r--r-- | dev-lisp/gcl/gcl-2.6.5.ebuild | 160 |
4 files changed, 175 insertions, 7 deletions
diff --git a/dev-lisp/gcl/ChangeLog b/dev-lisp/gcl/ChangeLog index 37582d16ec8a..3dd2bb403a7f 100644 --- a/dev-lisp/gcl/ChangeLog +++ b/dev-lisp/gcl/ChangeLog @@ -1,6 +1,11 @@ # 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.24 2004/11/14 22:44:35 mkennedy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/ChangeLog,v 1.25 2004/12/06 16:02:54 mkennedy Exp $ + +*gcl-2.6.5 (06 Dec 2004) + + 06 Dec 2004; Matthew Kennedy <mkennedy@gentoo.org> +gcl-2.6.5.ebuild: + New upstream version; Corrected Tk dependency; Corrected file permissions. 14 Nov 2004; Matthew Kenendy <mkennedy@gentoo.org> gcl-2.6.4.ebuild: Conditionally depend on tetex via doc USE flag; Resolves Bug #70300 diff --git a/dev-lisp/gcl/Manifest b/dev-lisp/gcl/Manifest index 8e347f05e501..56e503a73279 100644 --- a/dev-lisp/gcl/Manifest +++ b/dev-lisp/gcl/Manifest @@ -1,16 +1,18 @@ -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 8e6855b040bbc33a66774816a735d183 gcl-2.6.4.ebuild 3261 +MD5 29e92c25f0bc663902efb758e2f7e43d gcl-2.4.0.ebuild 1339 MD5 6e2df427db74fc0608117017db2a77cd gcl-2.5.3.ebuild 1791 MD5 894bececac629362becdffb8733d47f1 gcl-2.6.3.ebuild 2327 -MD5 ea024131a545fa4a5fc712bd871b3c42 gcl-2.5.2.ebuild 1570 MD5 0698897490561370c82e1a74d7b56065 ChangeLog 3751 MD5 76c0f2f918c95b927960b6dd7f700d32 metadata.xml 414 -MD5 6d1f14e922df6f4c5dc85add92b3ae45 files/digest-gcl-2.5.3 62 +MD5 ea024131a545fa4a5fc712bd871b3c42 gcl-2.5.2.ebuild 1570 +MD5 a4fb5735d567e84ddc1702537304afdc gcl-2.6.5.ebuild 3581 +MD5 ebf9ac3ed9129b8c967416164e1b8dcf files/digest-gcl-2.4.0 59 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 +MD5 6d1f14e922df6f4c5dc85add92b3ae45 files/digest-gcl-2.5.3 62 MD5 7f57744618be8e56d9b86390c5c475c2 files/digest-gcl-2.6.2 62 +MD5 56a2d3ad5e0c6efc29def8d13cae414c files/digest-gcl-2.6.3 62 +MD5 cce80e0951bd17957cf0d108e54c8fb5 files/digest-gcl-2.6.4 62 +MD5 58e5fcf38d6240c9f6ebfef4828c1443 files/digest-gcl-2.6.5 62 diff --git a/dev-lisp/gcl/files/digest-gcl-2.6.5 b/dev-lisp/gcl/files/digest-gcl-2.6.5 new file mode 100644 index 000000000000..104eaf1aa6ac --- /dev/null +++ b/dev-lisp/gcl/files/digest-gcl-2.6.5 @@ -0,0 +1 @@ +MD5 e0852318b81c93b76bc7e012f036ec6c gcl-2.6.5.tar.gz 8250164 diff --git a/dev-lisp/gcl/gcl-2.6.5.ebuild b/dev-lisp/gcl/gcl-2.6.5.ebuild new file mode 100644 index 000000000000..261ebb96d1a7 --- /dev/null +++ b/dev-lisp/gcl/gcl-2.6.5.ebuild @@ -0,0 +1,160 @@ +# 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.5.ebuild,v 1.1 2004/12/06 16:02:54 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" +IUSE="emacs readline debug X tcltk ansi custreloc dlopen gprof doc" + +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 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 + 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 +} |