Signed-off-by: David Michael <fedora....@gmail.com> --- eclass/acct-group.eclass | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/eclass/acct-group.eclass b/eclass/acct-group.eclass index 19a378e0b06..56e6391ef42 100644 --- a/eclass/acct-group.eclass +++ b/eclass/acct-group.eclass @@ -34,8 +34,12 @@ if [[ -z ${_ACCT_GROUP_ECLASS} ]]; then _ACCT_GROUP_ECLASS=1 +# The groupadd utility is called in pkg_preinst. It should be in IDEPEND. case ${EAPI:-0} in - 7) ;; + 7) + BDEPEND="userland_GNU? ( sys-apps/shadow )" + RDEPEND="${BDEPEND}" + ;; *) die "EAPI=${EAPI:-0} not supported";; esac -- 2.26.2