diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-12-31 18:15:54 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-12-31 18:15:54 +0000 |
commit | 6b38421470cdd1391be493f17e27e63560b1a4d9 (patch) | |
tree | 0757d60e66d0f422b3e11648c89ed9a9b34523a8 | |
parent | Restrict Jython ABIs. (diff) | |
download | gentoo-2-6b38421470cdd1391be493f17e27e63560b1a4d9.tar.gz gentoo-2-6b38421470cdd1391be493f17e27e63560b1a4d9.tar.bz2 gentoo-2-6b38421470cdd1391be493f17e27e63560b1a4d9.zip |
Version bump. Respect LDFLAGS (bug #337606), CC. Remove old, failing ebuild.
(Portage version: 2.2.0_alpha10/cvs/Linux i686)
-rw-r--r-- | sys-apps/restartd/ChangeLog | 10 | ||||
-rw-r--r-- | sys-apps/restartd/restartd-0.2.2.ebuild (renamed from sys-apps/restartd/restartd-0.1_alpha3.ebuild) | 23 |
2 files changed, 18 insertions, 15 deletions
diff --git a/sys-apps/restartd/ChangeLog b/sys-apps/restartd/ChangeLog index 0af9528f895d..bab79287e6a1 100644 --- a/sys-apps/restartd/ChangeLog +++ b/sys-apps/restartd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/restartd -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/restartd/ChangeLog,v 1.3 2007/05/15 14:19:07 bangert Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/restartd/ChangeLog,v 1.4 2010/12/31 18:15:53 jer Exp $ + +*restartd-0.2.2 (31 Dec 2010) + + 31 Dec 2010; Jeroen Roovers <jer@gentoo.org> -restartd-0.1_alpha3.ebuild, + +restartd-0.2.2.ebuild: + Version bump. Respect LDFLAGS (bug #337606), CC. Remove old, failing ebuild. 15 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml: add <herd>no-herd</herd> diff --git a/sys-apps/restartd/restartd-0.1_alpha3.ebuild b/sys-apps/restartd/restartd-0.2.2.ebuild index 7762d32b022f..98d19d5e0e01 100644 --- a/sys-apps/restartd/restartd-0.1_alpha3.ebuild +++ b/sys-apps/restartd/restartd-0.2.2.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/restartd/restartd-0.1_alpha3.ebuild,v 1.1 2005/10/14 04:34:05 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/restartd/restartd-0.2.2.ebuild,v 1.1 2010/12/31 18:15:53 jer Exp $ -inherit eutils +EAPI="2" + +inherit eutils toolchain-funcs MY_PV=${PV/_alpha/.a-} DESCRIPTION="A daemon for checking your running and not running processes" @@ -14,20 +16,15 @@ SLOT="0" KEYWORDS="~x86" IUSE="" -DEPEND="" - -S=${WORKDIR}/${PN}-${PV/_alpha*/.a} - -fsrc_unpack() { - unpack ${A} - epatch ${FILESDIR}/restartd-0.1-gentoo.diff +src_prepare() { + sed -i Makefile -e 's|-o restartd|$(LDFLAGS) &|g' || die "sed Makefile" } src_compile() { - emake C_ARGS="${CFLAGS}" || die + emake CC=$(tc-getCC) C_ARGS="${CFLAGS}" || die } src_install() { - dodir /etc /usr/sbin /usr/share/man/man8 - make install DESTDIR="${D}" || die + dodir /etc /usr/sbin /usr/share/man/man8 /usr/share/man/fr/man8/ + emake DESTDIR="${D}" install || die } |