diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-11-24 16:26:03 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-11-24 17:01:27 -0500 |
commit | 766f18f974e1f035898802f70ddea3707d1292cf (patch) | |
tree | bd2fadc7ff03343143fda89f5e910a93e605263b /sys-apps | |
parent | sys-apps/net-tools: add USE flags to control arp/hostname/nis/plipconfig/slat... (diff) | |
download | gentoo-766f18f974e1f035898802f70ddea3707d1292cf.tar.gz gentoo-766f18f974e1f035898802f70ddea3707d1292cf.tar.bz2 gentoo-766f18f974e1f035898802f70ddea3707d1292cf.zip |
sys-apps/coreutils: add USE=hostname #128538
This controls just the hostname program.
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/coreutils/coreutils-8.24.ebuild | 7 | ||||
-rw-r--r-- | sys-apps/coreutils/metadata.xml | 1 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sys-apps/coreutils/coreutils-8.24.ebuild b/sys-apps/coreutils/coreutils-8.24.ebuild index 8b60db7a46be..b350b0275b7e 100644 --- a/sys-apps/coreutils/coreutils-8.24.ebuild +++ b/sys-apps/coreutils/coreutils-8.24.ebuild @@ -24,7 +24,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz LICENSE="GPL-3" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux" -IUSE="acl caps gmp kill multicall nls selinux static userland_BSD vanilla xattr" +IUSE="acl caps gmp hostname kill multicall nls selinux static userland_BSD vanilla xattr" LIB_DEPEND="acl? ( sys-apps/acl[static-libs] ) caps? ( sys-libs/libcap ) @@ -37,6 +37,7 @@ DEPEND="${RDEPEND} static? ( ${LIB_DEPEND} ) app-arch/xz-utils" RDEPEND+=" + hostname? ( !sys-apps/net-tools[hostname] ) kill? ( !sys-apps/util-linux[kill] !sys-process/procps[kill] @@ -91,8 +92,8 @@ src_configure() { --with-packager="Gentoo" \ --with-packager-version="${PVR} (p${PATCH_VER:-0})" \ --with-packager-bug-reports="https://bugs.gentoo.org/" \ - --enable-install-program="arch,$(usev kill)" \ - --enable-no-install-program="groups,hostname,$(usev !kill),su,uptime" \ + --enable-install-program="arch,$(usev hostname),$(usev kill)" \ + --enable-no-install-program="groups,$(usev !hostname),$(usev !kill),su,uptime" \ --enable-largefile \ $(use caps || echo --disable-libcap) \ $(use_enable nls) \ diff --git a/sys-apps/coreutils/metadata.xml b/sys-apps/coreutils/metadata.xml index 95b8f3e0f807..cdf713459bfe 100644 --- a/sys-apps/coreutils/metadata.xml +++ b/sys-apps/coreutils/metadata.xml @@ -3,6 +3,7 @@ <pkgmetadata> <herd>base-system</herd> <use> + <flag name='hostname'>Build the hostname program</flag> <flag name='kill'>Build the kill program</flag> <flag name='multicall'>Build all tools into a single `coreutils` program akin to busybox to save space</flag> </use> |