Skip to content

Commit

Permalink
sys-apps/systemd: Use eninja from ninja-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorny committed May 16, 2017
1 parent b15a807 commit 72fffe9
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions sys-apps/systemd/systemd-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fi

PYTHON_COMPAT=( python{3_4,3_5,3_6} )

inherit bash-completion-r1 linux-info multilib-minimal multiprocessing pam python-any-r1 systemd toolchain-funcs udev user
inherit bash-completion-r1 linux-info multilib-minimal ninja-utils pam python-any-r1 systemd toolchain-funcs udev user

DESCRIPTION="System and service manager for Linux"
HOMEPAGE="https://www.freedesktop.org/wiki/Software/systemd"
Expand Down Expand Up @@ -285,15 +285,6 @@ multilib_src_configure() {
"$@" || die
}

eninja() {
if [[ -z ${NINJAOPTS+set} ]]; then
NINJAOPTS="-j $(makeopts_jobs) -l $(makeopts_loadavg "${MAKEOPTS}" 0)"
fi
set -- ninja -v ${NINJAOPTS} "$@"
echo "$@"
"$@" || die
}

multilib_src_compile() {
eninja
}
Expand Down

0 comments on commit 72fffe9

Please sign in to comment.