summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Maitin-Shepard <jbms@gentoo.org>2004-07-29 01:11:41 +0000
committerJeremy Maitin-Shepard <jbms@gentoo.org>2004-07-29 01:11:41 +0000
commit69af6118af045741daee95dd68042267fc7eea79 (patch)
treef54972c4c396fb33d4cc248abb14cf80308b6e10 /dev-lang/gforth
parentadd macos keyword bug 58103 (diff)
downloadhistorical-69af6118af045741daee95dd68042267fc7eea79.tar.gz
historical-69af6118af045741daee95dd68042267fc7eea79.tar.bz2
historical-69af6118af045741daee95dd68042267fc7eea79.zip
Fixed sandbox violation
Diffstat (limited to 'dev-lang/gforth')
-rw-r--r--dev-lang/gforth/ChangeLog8
-rw-r--r--dev-lang/gforth/Manifest12
-rw-r--r--dev-lang/gforth/files/digest-gforth-0.5.0-r11
-rw-r--r--dev-lang/gforth/gforth-0.5.0-r1.ebuild71
4 files changed, 86 insertions, 6 deletions
diff --git a/dev-lang/gforth/ChangeLog b/dev-lang/gforth/ChangeLog
index 7ccdb18b37bc..379b7eef8208 100644
--- a/dev-lang/gforth/ChangeLog
+++ b/dev-lang/gforth/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/gforth
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gforth/ChangeLog,v 1.9 2004/07/02 04:26:05 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gforth/ChangeLog,v 1.10 2004/07/29 01:11:41 jbms Exp $
+
+*gforth-0.5.0-r1 (28 Jul 2004)
+
+ 28 Jul 2004; Jeremy Maitin-Shepard <jbms@gentoo.org> gforth-0.5.0-r1.ebuild:
+ Fixed sandbox violation, and added proper handling for Emacs support
+ Resolves Bug #54084
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> gforth-0.5.0.ebuild,
gforth-0.6.1-r1.ebuild, gforth-0.6.1.ebuild, gforth-0.6.2.ebuild:
diff --git a/dev-lang/gforth/Manifest b/dev-lang/gforth/Manifest
index 9cbf090717ea..0c11607a6b3f 100644
--- a/dev-lang/gforth/Manifest
+++ b/dev-lang/gforth/Manifest
@@ -1,11 +1,13 @@
-MD5 e1ed78363e0d9a75d4c74b5e3dc4e65e ChangeLog 1749
MD5 f537a3e10675a041c1ee3ddadfa396b7 gforth-0.5.0.ebuild 1356
+MD5 7adb9459b8ded5b6ada4b2a583b88d0f gforth-0.6.2.ebuild 1341
+MD5 b7a636a4cb98d9be810a66a805c2a987 ChangeLog 1949
MD5 4243f6706be50354c7907bd6d14e616b gforth-0.6.1-r1.ebuild 1366
+MD5 a4135e4f6cd09846793958d7abbf9f12 gforth-0.5.0-r1.ebuild 1750
MD5 29948c4ed93e349d4a553450436bb304 gforth-0.6.1.ebuild 1365
-MD5 7adb9459b8ded5b6ada4b2a583b88d0f gforth-0.6.2.ebuild 1341
-MD5 74edc6d12c9a8d2858070dc09e2c264c files/50gforth-gentoo.el 200
+MD5 7a30c3b5440bf0523287414f644ce1db files/digest-gforth-0.5.0-r1 65
+MD5 a046426efcf946fd34d9ad1f22311bc9 files/digest-gforth-0.6.1-r1 65
+MD5 eaf0babab3dec9a6b74e876829e1a68a files/gforth.el-gentoo.patch 1518
MD5 7a30c3b5440bf0523287414f644ce1db files/digest-gforth-0.5.0 65
MD5 a046426efcf946fd34d9ad1f22311bc9 files/digest-gforth-0.6.1 65
-MD5 a046426efcf946fd34d9ad1f22311bc9 files/digest-gforth-0.6.1-r1 65
MD5 288a9f927bbcb355499af2795baa6248 files/digest-gforth-0.6.2 65
-MD5 eaf0babab3dec9a6b74e876829e1a68a files/gforth.el-gentoo.patch 1518
+MD5 74edc6d12c9a8d2858070dc09e2c264c files/50gforth-gentoo.el 200
diff --git a/dev-lang/gforth/files/digest-gforth-0.5.0-r1 b/dev-lang/gforth/files/digest-gforth-0.5.0-r1
new file mode 100644
index 000000000000..88f8603923f9
--- /dev/null
+++ b/dev-lang/gforth/files/digest-gforth-0.5.0-r1
@@ -0,0 +1 @@
+MD5 db16b64e9d63934bc4455e9b2aebbe13 gforth-0.5.0.tar.gz 1472986
diff --git a/dev-lang/gforth/gforth-0.5.0-r1.ebuild b/dev-lang/gforth/gforth-0.5.0-r1.ebuild
new file mode 100644
index 000000000000..d3c983db5472
--- /dev/null
+++ b/dev-lang/gforth/gforth-0.5.0-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gforth/gforth-0.5.0-r1.ebuild,v 1.1 2004/07/29 01:11:41 jbms Exp $
+
+IUSE="emacs"
+
+inherit flag-o-matic elisp-common
+
+DESCRIPTION="GNU Forth is a fast and portable implementation of the ANS Forth language"
+HOMEPAGE="http://www.gnu.org/software/gforth"
+SRC_URI="http://www.complang.tuwien.ac.at/forth/gforth/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+# Admittedly this should be UNSTABLE
+KEYWORDS="~x86"
+
+DEPEND="virtual/libc
+ emacs? ( virtual/emacs )"
+
+SITEFILE=50gforth-gentoo.el
+
+src_compile() {
+ # A lot of trouble with gcc3 and heavy opt flags, so let's try to dial
+ # it down to -O1 at the most.
+ strip-flags
+ export CFLAGS="${CFLAGS//-O?} -O"
+
+ econf --enable-force-reg --without-debug || die "./configure failed"
+ # some configure flags that trip up gcc3.x are
+ # built into the thing. Get rid of the things.
+ cp Makefile Makefile.orig
+ sed -e "s:-O3::" Makefile.orig >Makefile
+ cp engine/Makefile engine/Makefile.orig
+ sed -e "s:-O3::" engine/Makefile.orig >engine/Makefile
+ emake XCFLAGS="" ENGINE_FLAGS="" || die
+
+ if use emacs; then
+ elisp-comp *.el || die
+ fi
+}
+
+src_install () {
+ make install \
+ prefix=${D}/usr \
+ libdir=${D}/usr/lib \
+ infodir=${D}/usr/share/info \
+ mandir=${D}/usr/share/man \
+ datadir=${D}/usr/share \
+ bindir=${D}/usr/bin \
+ install || die
+
+ dodoc AUTHORS README INSTALL NEWS doc/glossaries.doc gforth.ps || die
+
+ if use emacs; then
+ elisp-install ${PN} *.el *.elc || die
+ elisp-site-file-install ${FILESDIR}/${SITEFILE} || die
+ fi
+}
+
+pkg_postinst() {
+ if use emacs; then
+ elisp-site-regen
+ fi
+}
+
+pkg_postrm() {
+ if use emacs; then
+ elisp-site-regen
+ fi
+}