summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2006-09-08 07:08:36 +0000
committerBenedikt Boehm <hollow@gentoo.org>2006-09-08 07:08:36 +0000
commit8512587f21d2e7896c08d372c403cb1dab83e0fe (patch)
treed5bafc47ad8bdf077cfebf3646c8479e3a9e90ec /dev-libs
parentVersion bump. Add gre-extreme-debug USE flag which enables logging of every a... (diff)
downloadhistorical-8512587f21d2e7896c08d372c403cb1dab83e0fe.tar.gz
historical-8512587f21d2e7896c08d372c403cb1dab83e0fe.tar.bz2
historical-8512587f21d2e7896c08d372c403cb1dab83e0fe.zip
and hopefully fix PIC mess on x86 too
Package-Manager: portage-2.1.1_pre4-r3
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/dietlibc/ChangeLog8
-rw-r--r--dev-libs/dietlibc/dietlibc-0.30-r2.ebuild51
-rw-r--r--dev-libs/dietlibc/files/digest-dietlibc-0.30-r26
3 files changed, 64 insertions, 1 deletions
diff --git a/dev-libs/dietlibc/ChangeLog b/dev-libs/dietlibc/ChangeLog
index 3012195517b5..6a1d31606e0e 100644
--- a/dev-libs/dietlibc/ChangeLog
+++ b/dev-libs/dietlibc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/dietlibc
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.61 2006/09/07 11:22:01 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.62 2006/09/08 07:08:36 hollow Exp $
+
+*dietlibc-0.30-r2 (08 Sep 2006)
+
+ 08 Sep 2006; Benedikt Böhm <hollow@gentoo.org> -dietlibc-0.30-r1.ebuild,
+ +dietlibc-0.30-r2.ebuild:
+ and hopefully fix PIC mess on x86 too
*dietlibc-0.30-r1 (07 Sep 2006)
diff --git a/dev-libs/dietlibc/dietlibc-0.30-r2.ebuild b/dev-libs/dietlibc/dietlibc-0.30-r2.ebuild
new file mode 100644
index 000000000000..0c539d532390
--- /dev/null
+++ b/dev-libs/dietlibc/dietlibc-0.30-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.30-r2.ebuild,v 1.1 2006/09/08 07:08:36 hollow Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="A minimal libc"
+HOMEPAGE="http://www.fefe.de/dietlibc/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ http://dev.gentoo.org/~phreak/distfiles/${PN}-patches-${PVR}.tar.bz2
+ http://dev.gentoo.org/~hollow/distfiles/${PN}-patches-${PVR}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug"
+
+DEPEND=""
+
+pkg_setup() {
+ # Replace sparc64 related C[XX]FLAGS (see bug #45716)
+ use sparc && replace-sparc64-flags
+
+ # gcc-hppa suffers support for SSP, compilation will fail
+ # (do we still need this? SSP is disabled, see below)
+ use hppa && strip-unsupported-flags
+
+ # we use dietlibs STACKGAP in favor of the broken SSP implementation
+ filter-flags -fstack-protector -fstack-protector-all
+
+ # debug flags
+ use debug && append-flags -g
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${WORKDIR}"/patches/*.patch
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}" || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dobin "${D}"/usr/diet/bin/* || die "dobin failed"
+ doman "${D}"/usr/diet/man/*/* || die "doman failed"
+ rm -r "${D}"/usr/diet/{man,bin}
+ dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING
+}
diff --git a/dev-libs/dietlibc/files/digest-dietlibc-0.30-r2 b/dev-libs/dietlibc/files/digest-dietlibc-0.30-r2
new file mode 100644
index 000000000000..5b4ca893b6e2
--- /dev/null
+++ b/dev-libs/dietlibc/files/digest-dietlibc-0.30-r2
@@ -0,0 +1,6 @@
+MD5 2465d652fff6f1fad3da3b98e60e83c9 dietlibc-0.30.tar.bz2 567046
+RMD160 98d4e20e106f60835ed4a22d3013d9a34957f18a dietlibc-0.30.tar.bz2 567046
+SHA256 2c8733825d364d374f0179a403a57e4a382fbb9852431228ef19062a5de183b5 dietlibc-0.30.tar.bz2 567046
+MD5 c69b305e06b01c00c9484c24fbbd68e1 dietlibc-patches-0.30-r2.tar.bz2 31582
+RMD160 6cd2a89cb47131360ed6e6a8cbcbe79aad84b18a dietlibc-patches-0.30-r2.tar.bz2 31582
+SHA256 03a3ea9bba39fb78511a59e80bcbdafdc82a0859b31b6af925854052a79f06fe dietlibc-patches-0.30-r2.tar.bz2 31582