sys-apps/openrc: install bash and zsh completion

This commit is contained in:
Julian Ospald 2018-03-23 12:38:22 +01:00
parent fa4ed6a6ee
commit 240bbe829e

View File

@ -5,6 +5,7 @@
# Copyright 1999-2015 Gentoo Foundation # Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
require bash-completion zsh-completion
require github require github
SUMMARY="A dependency-based init system that works with the system-provided init program" SUMMARY="A dependency-based init system that works with the system-provided init program"
@ -61,6 +62,8 @@ DEFAULT_SRC_INSTALL_PARAMS=(
LIBDIR=/usr/$(exhost --target)/lib LIBDIR=/usr/$(exhost --target)/lib
SHLIBDIR=/usr/$(exhost --target)/lib SHLIBDIR=/usr/$(exhost --target)/lib
LIBMODE=0755 LIBMODE=0755
BASHCOMPDIR=${BASHCOMPLETIONDIR}
ZSHCOMPDIR=${ZSHCOMPLETIONDIR}
) )
pkg_setup() { pkg_setup() {
@ -89,11 +92,13 @@ src_compile() {
MAKE_ARGS=" MAKE_ARGS="
${DEFAULT_SRC_COMPILE_PARAMS[@]} ${DEFAULT_SRC_COMPILE_PARAMS[@]}
MKAUDIT=no MKAUDIT=no
MKBASHCOMP=$(option bash-completion yes no)
MKNET=$(option newnet yes no) MKNET=$(option newnet yes no)
MKPAM=$(optionv pam) MKPAM=$(optionv pam)
MKSELINUX=no MKSELINUX=no
MKSTATICLIBS=no MKSTATICLIBS=no
MKSYSVINIT=no MKSYSVINIT=no
MKZSHCOMP=$(option zsh-completion yes no)
" "
emake ${MAKE_ARGS} emake ${MAKE_ARGS}