summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/boehm-gc/ChangeLog7
-rw-r--r--dev-libs/boehm-gc/boehm-gc-7.0-r1.ebuild61
-rw-r--r--dev-libs/boehm-gc/files/digest-boehm-gc-7.0-r13
3 files changed, 70 insertions, 1 deletions
diff --git a/dev-libs/boehm-gc/ChangeLog b/dev-libs/boehm-gc/ChangeLog
index 2401b9eae532..0dd5b2730e24 100644
--- a/dev-libs/boehm-gc/ChangeLog
+++ b/dev-libs/boehm-gc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/boehm-gc
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/boehm-gc/ChangeLog,v 1.64 2007/08/13 20:18:42 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boehm-gc/ChangeLog,v 1.65 2007/08/19 16:53:04 matsuu Exp $
+
+*boehm-gc-7.0-r1 (19 Aug 2007)
+
+ 19 Aug 2007; MATSUU Takuto <matsuu@gentoo.org> +boehm-gc-7.0-r1.ebuild:
+ Fixed bug #187379.
13 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org> boehm-gc-6.8.ebuild:
ppc. stable
diff --git a/dev-libs/boehm-gc/boehm-gc-7.0-r1.ebuild b/dev-libs/boehm-gc/boehm-gc-7.0-r1.ebuild
new file mode 100644
index 000000000000..aa70f5ac579a
--- /dev/null
+++ b/dev-libs/boehm-gc/boehm-gc-7.0-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boehm-gc/boehm-gc-7.0-r1.ebuild,v 1.1 2007/08/19 16:53:04 matsuu Exp $
+
+inherit eutils
+
+MY_P="gc-${PV/_/}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="The Boehm-Demers-Weiser conservative garbage collector"
+HOMEPAGE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
+SRC_URI="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/${MY_P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="nocxx threads"
+
+RDEPEND="virtual/libc"
+
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e '/^SUBDIRS/s/doc//' Makefile.in || die
+ epatch "${FILESDIR}"/${PN}-6.5-gentoo.patch
+ epatch "${FILESDIR}"/gc6.6-builtin-backtrace-uclibc.patch
+}
+
+src_compile() {
+ local myconf=""
+
+ if use nocxx ; then
+ myconf="${myconf} --disable-cplusplus"
+ else
+ myconf="${myconf} --enable-cplusplus"
+ fi
+
+ use threads || myconf="${myconf} --disable-threads"
+
+ econf ${myconf} || die "Configure failed..."
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ rm -rf "${D}"/usr/share/gc || die
+
+ # dist_noinst_HEADERS
+ insinto /usr/include/gc
+ doins include/{cord.h,ec.h,javaxfc.h}
+ insinto /usr/include/gc/private
+ doins include/private/*.h
+
+ dodoc README.QUICK doc/README* doc/barrett_diagram
+ dohtml doc/*.html
+ newman doc/gc.man GC_malloc.1
+}
diff --git a/dev-libs/boehm-gc/files/digest-boehm-gc-7.0-r1 b/dev-libs/boehm-gc/files/digest-boehm-gc-7.0-r1
new file mode 100644
index 000000000000..70a25f60ed9a
--- /dev/null
+++ b/dev-libs/boehm-gc/files/digest-boehm-gc-7.0-r1
@@ -0,0 +1,3 @@
+MD5 3645ccf5f32ebb27d99b27b0d29e9c38 gc-7.0.tar.gz 1072682
+RMD160 4912e2590dd8212bebeeb1e32506762ca31d0088 gc-7.0.tar.gz 1072682
+SHA256 d20ac6e939b82770434b76e4f7dc18a4099d507eb4f42a5d3ad746250c011e5b gc-7.0.tar.gz 1072682