diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-13 10:46:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-13 10:46:38 +0000 |
commit | 6613d8933e28f30a634656f3c847b1be66229988 (patch) | |
tree | 0f7acc1a2606cb6f64decd517a4a7ab274ce55b7 /sys-process/minit/minit-0.9.1.ebuild | |
parent | dont apply uclibc/pie patches when USE=vanilla (diff) | |
download | historical-6613d8933e28f30a634656f3c847b1be66229988.tar.gz historical-6613d8933e28f30a634656f3c847b1be66229988.tar.bz2 historical-6613d8933e28f30a634656f3c847b1be66229988.zip |
Fix by Jérôme Poulin for building without dietlibc #118860.
Package-Manager: portage-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 |