summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2010-07-21 05:26:21 +0000
committerRyan Hill <dirtyepic@gentoo.org>2010-07-21 05:26:21 +0000
commit2ebacb9547531baaa4952280d9ceedacfa17c58f (patch)
tree3b3439edeec84826dda9960b93bb4cfb8689f316 /sys-devel/prelink
parentAdd pidgin-bot-sentry, a pidgin plugin to block spam. (diff)
downloadgentoo-2-2ebacb9547531baaa4952280d9ceedacfa17c58f.tar.gz
gentoo-2-2ebacb9547531baaa4952280d9ceedacfa17c58f.tar.bz2
gentoo-2-2ebacb9547531baaa4952280d9ceedacfa17c58f.zip
Version bump.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-devel/prelink')
-rw-r--r--sys-devel/prelink/ChangeLog8
-rw-r--r--sys-devel/prelink/prelink-20100714.ebuild (renamed from sys-devel/prelink/prelink-20090709.ebuild)30
2 files changed, 24 insertions, 14 deletions
diff --git a/sys-devel/prelink/ChangeLog b/sys-devel/prelink/ChangeLog
index 45614bbdb4aa..0ba15f8128a9 100644
--- a/sys-devel/prelink/ChangeLog
+++ b/sys-devel/prelink/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-devel/prelink
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/ChangeLog,v 1.74 2010/07/11 11:17:40 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/ChangeLog,v 1.75 2010/07/21 05:26:21 dirtyepic Exp $
+
+*prelink-20100714 (21 Jul 2010)
+
+ 21 Jul 2010; Ryan Hill <dirtyepic@gentoo.org> -prelink-20090709.ebuild,
+ +prelink-20100714.ebuild:
+ Version bump.
11 Jul 2010; Raúl Porcel <armin76@gentoo.org> prelink-20071009.ebuild,
prelink-20090709.ebuild, prelink-20100106.ebuild, prelink-20100413.ebuild:
diff --git a/sys-devel/prelink/prelink-20090709.ebuild b/sys-devel/prelink/prelink-20100714.ebuild
index 64f4dab3eb12..168310c0a59b 100644
--- a/sys-devel/prelink/prelink-20090709.ebuild
+++ b/sys-devel/prelink/prelink-20100714.ebuild
@@ -1,14 +1,16 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/prelink-20090709.ebuild,v 1.3 2010/07/11 11:17:40 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/prelink-20100714.ebuild,v 1.1 2010/07/21 05:26:21 dirtyepic Exp $
-# the tar.bz2 was ripped from this rpm:
-# http://mirrors.kernel.org/fedora/development/source/SRPMS/prelink-0.4.2-1.fc12.src.rpm
+EAPI="2"
inherit eutils
DESCRIPTION="Modifies ELFs to avoid runtime symbol resolutions resulting in faster load times"
HOMEPAGE="http://people.redhat.com/jakub/prelink"
+#SRC_URI="http://people.redhat.com/jakub/prelink/${P}.tar.bz2"
+# if not on http://people.redhat.com/jakub/prelink/, releases can usually be ripped from
+# http://mirrors.kernel.org/fedora/development/source/SRPMS/prelink-<blah>.src.rpm
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
@@ -18,24 +20,26 @@ IUSE=""
DEPEND=">=dev-libs/elfutils-0.100
!dev-libs/libelf
- >=sys-libs/glibc-2.3.4"
+ >=sys-libs/glibc-2.8"
RDEPEND="${DEPEND}
- >=sys-devel/binutils-2.15.90.0.1"
+ >=sys-devel/binutils-2.18"
S=${WORKDIR}/${PN}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${PN}-20061201-prelink-conf.patch
+
sed -i -e 's:undosyslibs.sh::' testsuite/Makefile.in #254201
- sed -i \
- -e '/^CC=/s: : -Wl,--disable-new-dtags :' \
- testsuite/functions.sh #100147
+ sed -i -e '/^CC=/s: : -Wl,--disable-new-dtags :' testsuite/functions.sh #100147
+}
+
+src_test() {
+ unset LD_AS_NEEDED # 303797
+ emake -j1 check
}
src_install() {
- emake install DESTDIR="${D}" || die "Install Failed"
+ emake DESTDIR="${D}" install || die "Install Failed"
insinto /etc
doins doc/prelink.conf || die
@@ -50,7 +54,7 @@ src_install() {
touch "${D}/var/lib/misc/prelink.force"
touch "${D}/var/log/prelink.log"
- dodoc INSTALL TODO ChangeLog THANKS README AUTHORS NEWS
+ dodoc TODO ChangeLog
}
pkg_postinst() {