From bbddb3959f35f78712569ec5020ea489b6666eba Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 16 Apr 2005 07:48:31 +0000 Subject: Make dietlibc optional #89249 by James Rowe. (Portage version: 2.0.51.19) --- sys-process/minit/ChangeLog | 7 +++++-- sys-process/minit/minit-0.9.1.ebuild | 19 ++++++++----------- 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'sys-process') diff --git a/sys-process/minit/ChangeLog b/sys-process/minit/ChangeLog index 18501ce5dc22..52d90adf9288 100644 --- a/sys-process/minit/ChangeLog +++ b/sys-process/minit/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-process/minit -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/minit/ChangeLog,v 1.2 2005/03/03 19:47:32 swegener Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/minit/ChangeLog,v 1.3 2005/04/16 07:48:31 vapier Exp $ + + 16 Apr 2005; Mike Frysinger minit-0.9.1.ebuild: + Make dietlibc optional #89249 by James Rowe. *minit-0.9.1 (03 Mar 2005) diff --git a/sys-process/minit/minit-0.9.1.ebuild b/sys-process/minit/minit-0.9.1.ebuild index f20a3809cc56..000e7f3cc111 100644 --- a/sys-process/minit/minit-0.9.1.ebuild +++ b/sys-process/minit/minit-0.9.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/minit/minit-0.9.1.ebuild,v 1.1 2005/03/03 16:02:26 ciaranm Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/minit/minit-0.9.1.ebuild,v 1.2 2005/04/16 07:48:31 vapier Exp $ inherit eutils @@ -8,24 +8,21 @@ DESCRIPTION="a small yet feature-complete init" HOMEPAGE="http://www.fefe.de/minit/" SRC_URI="http://www.fefe.de/minit/${P}.tar.bz2" -SLOT="0" LICENSE="GPL-2" +SLOT="0" KEYWORDS="x86" -IUSE="" +IUSE="diet" -DEPEND="dev-libs/dietlibc" +DEPEND="diet? ( dev-libs/dietlibc )" src_unpack() { unpack ${A} - cd ${S} - epatch ${FILESDIR}/${PV}-destdir.patch -} - -src_compile() { - emake || die + cd "${S}" + epatch "${FILESDIR}"/${PV}-destdir.patch + use diet || sed -i -e '/^DIET=diet/d' Makefile } src_install() { - make install DESTDIR=${D} || die + make install DESTDIR="${D}" || die dodoc CHANGES README TODO } -- cgit v1.2.3-65-gdbad