summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2013-01-03 21:11:37 +0000
committerWilliam Hubbs <williamh@gentoo.org>2013-01-03 21:11:37 +0000
commit38b91106dbf0654d77084696ba4700e1632e18b6 (patch)
tree488c6af0414f7df714e4e4d8ada88fe7eeff5ec1 /sys-apps/openrc
parentdrop ~sparc once again (diff)
downloadgentoo-2-38b91106dbf0654d77084696ba4700e1632e18b6.tar.gz
gentoo-2-38b91106dbf0654d77084696ba4700e1632e18b6.tar.bz2
gentoo-2-38b91106dbf0654d77084696ba4700e1632e18b6.zip
Add support for tools use flag
(Portage version: 2.2.0_alpha149/cvs/Linux i686, signed Manifest commit with key 0x30C46538)
Diffstat (limited to 'sys-apps/openrc')
-rw-r--r--sys-apps/openrc/ChangeLog6
-rw-r--r--sys-apps/openrc/metadata.xml1
-rw-r--r--sys-apps/openrc/openrc-9999.ebuild10
3 files changed, 12 insertions, 5 deletions
diff --git a/sys-apps/openrc/ChangeLog b/sys-apps/openrc/ChangeLog
index 3d564b157bb1..9c52438706ee 100644
--- a/sys-apps/openrc/ChangeLog
+++ b/sys-apps/openrc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/openrc
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/ChangeLog,v 1.261 2013/01/02 20:21:14 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/ChangeLog,v 1.262 2013/01/03 21:11:37 williamh Exp $
+
+ 03 Jan 2013; William Hubbs <williamh@gentoo.org> metadata.xml,
+ openrc-9999.ebuild:
+ Add support for tools use flag
02 Jan 2013; William Hubbs <williamh@gentoo.org> -openrc-0.11.6.ebuild:
remove old version
diff --git a/sys-apps/openrc/metadata.xml b/sys-apps/openrc/metadata.xml
index d22c7ce81309..6222e313b3ff 100644
--- a/sys-apps/openrc/metadata.xml
+++ b/sys-apps/openrc/metadata.xml
@@ -4,5 +4,6 @@
<herd>openrc</herd>
<use>
<flag name="newnet">enable the new network stack (experimental)</flag>
+ <flag name="tools">build optional tools</flag>
</use>
</pkgmetadata>
diff --git a/sys-apps/openrc/openrc-9999.ebuild b/sys-apps/openrc/openrc-9999.ebuild
index cc7d9beccca1..20205ad82044 100644
--- a/sys-apps/openrc/openrc-9999.ebuild
+++ b/sys-apps/openrc/openrc-9999.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v 1.116 2012/11/25 06:01:12 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v 1.117 2013/01/03 21:11:37 williamh Exp $
EAPI=4
@@ -19,14 +19,15 @@ fi
LICENSE="BSD-2"
SLOT="0"
-IUSE="debug elibc_glibc ncurses pam newnet prefix selinux static-libs unicode
- kernel_linux kernel_FreeBSD"
+IUSE="debug elibc_glibc ncurses pam newnet prefix selinux static-libs tools
+ unicode kernel_linux kernel_FreeBSD"
RDEPEND="virtual/init
kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-ubin-9.0_rc sys-process/fuser-bsd ) )
elibc_glibc? ( >=sys-libs/glibc-2.5 )
ncurses? ( sys-libs/ncurses )
pam? ( sys-auth/pambase )
+ tools? ( dev-lang/perl )
>=sys-apps/baselayout-2.1-r1
kernel_linux? (
sys-process/psmisc
@@ -73,6 +74,7 @@ src_compile() {
fi
use newnet || MAKE_ARGS="${MAKE_ARGS} MKNET=oldnet"
use prefix && MAKE_ARGS="${MAKE_ARGS} MKPREFIX=yes PREFIX=${EPREFIX}"
+ use tools && MAKE_ARGS="${MAKE_ARGS} MKTOOLS=yes"
export DEBUG=$(usev debug)
export MKPAM=$(usev pam)
export MKTERMCAP=$(usev ncurses)