diff options
author | 2006-01-13 10:46:38 +0000 | |
---|---|---|
committer | 2006-01-13 10:46:38 +0000 | |
commit | a9224aea50192d2e0b36e36252b18d6275a5f4ff (patch) | |
tree | 50ce01d49ac7838f855e7dc9a2518ee0e6633196 /sys-process/minit/minit-0.9.1.ebuild | |
parent | dont apply uclibc/pie patches when USE=vanilla (diff) | |
download | gentoo-2-a9224aea50192d2e0b36e36252b18d6275a5f4ff.tar.gz gentoo-2-a9224aea50192d2e0b36e36252b18d6275a5f4ff.tar.bz2 gentoo-2-a9224aea50192d2e0b36e36252b18d6275a5f4ff.zip |
Fix by Jérôme Poulin for building without dietlibc #118860.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'sys-process/minit/minit-0.9.1.ebuild')
-rw-r--r-- | sys-process/minit/minit-0.9.1.ebuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sys-process/minit/minit-0.9.1.ebuild b/sys-process/minit/minit-0.9.1.ebuild index 61ec995c8275..ce6a128c426a 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 +# Copyright 1999-2006 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.3 2005/08/28 06:04:12 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/minit/minit-0.9.1.ebuild,v 1.4 2006/01/13 10:46:38 vapier Exp $ inherit eutils @@ -11,9 +11,9 @@ SRC_URI="http://www.fefe.de/minit/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" -IUSE="" +IUSE="diet" -DEPEND="" +DEPEND="diet? ( dev-libs/dietlibc )" src_unpack() { unpack ${A} @@ -21,6 +21,10 @@ src_unpack() { epatch "${FILESDIR}"/${PV}-destdir.patch } +src_compile() { + emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" DIET=$(usev diet) || die +} + src_install() { make install DESTDIR="${D}" || die dodoc CHANGES README TODO |