summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-06-16 21:09:59 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-06-16 21:09:59 +0000
commit134e3f1d531bd3f850bafb322ec08b41a650822f (patch)
tree4b2c4f74ded88b35ce276125e2a9677d76da8e23 /sys-apps
parentFix building when ARG_MAX is not defined #225341 by Tobias Scherbaum. (diff)
downloadgentoo-2-134e3f1d531bd3f850bafb322ec08b41a650822f.tar.gz
gentoo-2-134e3f1d531bd3f850bafb322ec08b41a650822f.tar.bz2
gentoo-2-134e3f1d531bd3f850bafb322ec08b41a650822f.zip
bind installkernel and mkboot to kernel_linux useflag as discussed on bug #225759
(Portage version: 2.1.5.5)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/debianutils/ChangeLog7
-rw-r--r--sys-apps/debianutils/debianutils-2.28.5.ebuild16
2 files changed, 17 insertions, 6 deletions
diff --git a/sys-apps/debianutils/ChangeLog b/sys-apps/debianutils/ChangeLog
index b173ca0592ac..84c83b814615 100644
--- a/sys-apps/debianutils/ChangeLog
+++ b/sys-apps/debianutils/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/debianutils
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/debianutils/ChangeLog,v 1.109 2008/05/05 04:45:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/debianutils/ChangeLog,v 1.110 2008/06/16 21:09:59 aballier Exp $
+
+ 16 Jun 2008; Alexis Ballier <aballier@gentoo.org>
+ debianutils-2.28.5.ebuild:
+ bind installkernel and mkboot to kernel_linux useflag as discussed on bug
+ #225759
*debianutils-2.28.5 (05 May 2008)
diff --git a/sys-apps/debianutils/debianutils-2.28.5.ebuild b/sys-apps/debianutils/debianutils-2.28.5.ebuild
index 754b62d7041b..6a4bc6f36fb5 100644
--- a/sys-apps/debianutils/debianutils-2.28.5.ebuild
+++ b/sys-apps/debianutils/debianutils-2.28.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/debianutils/debianutils-2.28.5.ebuild,v 1.1 2008/05/05 04:45:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/debianutils/debianutils-2.28.5.ebuild,v 1.2 2008/06/16 21:09:59 aballier Exp $
inherit eutils flag-o-matic
@@ -11,7 +11,7 @@ SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.gz"
LICENSE="GPL-2 BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="static"
+IUSE="kernel_linux static"
PDEPEND="|| ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp )"
@@ -32,12 +32,18 @@ src_compile() {
src_install() {
into /
dobin tempfile run-parts || die
- dosbin installkernel || die "installkernel failed"
+ if use kernel_linux ; then
+ dosbin installkernel || die "installkernel failed"
+ fi
into /usr
- dosbin savelog mkboot || die "savelog/mkboot failed"
+ dosbin savelog || die "savelog failed"
+ if use kernel_linux ; then
+ dosbin mkboot || die "mkboot failed"
+ fi
- doman tempfile.1 run-parts.8 savelog.8 installkernel.8 mkboot.8
+ doman tempfile.1 run-parts.8 savelog.8
+ use kernel_linux && doman installkernel.8 mkboot.8
cd debian
dodoc changelog control
}