summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-13 10:46:38 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-13 10:46:38 +0000
commita9224aea50192d2e0b36e36252b18d6275a5f4ff (patch)
tree50ce01d49ac7838f855e7dc9a2518ee0e6633196 /sys-process
parentdont apply uclibc/pie patches when USE=vanilla (diff)
downloadgentoo-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')
-rw-r--r--sys-process/minit/ChangeLog7
-rw-r--r--sys-process/minit/minit-0.9.1.ebuild12
2 files changed, 13 insertions, 6 deletions
diff --git a/sys-process/minit/ChangeLog b/sys-process/minit/ChangeLog
index 3670673f248b..398af7bf6233 100644
--- a/sys-process/minit/ChangeLog
+++ b/sys-process/minit/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-process/minit
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/minit/ChangeLog,v 1.4 2005/08/28 06:04:12 vapier Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/minit/ChangeLog,v 1.5 2006/01/13 10:46:38 vapier Exp $
+
+ 13 Jan 2006; Mike Frysinger <vapier@gentoo.org> minit-0.9.1.ebuild:
+ Fix by Jérôme Poulin for building without dietlibc #118860.
28 Aug 2005; Mike Frysinger <vapier@gentoo.org> minit-0.9.1.ebuild:
Punt USE=diet.
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