summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/shadow/shadow-4.8-r3.ebuild')
-rw-r--r--sys-apps/shadow/shadow-4.8-r3.ebuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/sys-apps/shadow/shadow-4.8-r3.ebuild b/sys-apps/shadow/shadow-4.8-r3.ebuild
index caee465a85b..54f1a3d52e8 100644
--- a/sys-apps/shadow/shadow-4.8-r3.ebuild
+++ b/sys-apps/shadow/shadow-4.8-r3.ebuild
@@ -16,7 +16,11 @@ IUSE="acl audit bcrypt +cracklib nls pam selinux skey split-usr +su xattr"
# Taken from the man/Makefile.am file.
LANGS=( cs da de es fi fr hu id it ja ko pl pt_BR ru sv tr zh_CN zh_TW )
-DEPEND="
+BDEPEND="
+ app-arch/xz-utils
+ sys-devel/gettext
+"
+COMMON_DEPEND="
acl? ( sys-apps/acl:0= )
audit? ( >=sys-process/audit-2.6:0= )
cracklib? ( >=sys-libs/cracklib-2.7-r3:0= )
@@ -29,12 +33,10 @@ DEPEND="
)
xattr? ( sys-apps/attr:0= )
"
-BDEPEND="
- app-arch/xz-utils
- sys-devel/gettext
+DEPEND="${COMMON_DEPEND}
+ >=sys-kernel/linux-headers-4.19
"
-RDEPEND="
- ${DEPEND}
+RDEPEND="${COMMON_DEPEND}
pam? ( >=sys-auth/pambase-20150213 )
su? ( !sys-apps/util-linux[su(-)] )
"