summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/freeradius/freeradius-3.0.20-r1.ebuild')
-rw-r--r--net-dialup/freeradius/freeradius-3.0.20-r1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/net-dialup/freeradius/freeradius-3.0.20-r1.ebuild b/net-dialup/freeradius/freeradius-3.0.20-r1.ebuild
index f29428cfc91e..ded90416b5b3 100644
--- a/net-dialup/freeradius/freeradius-3.0.20-r1.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.20-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -226,7 +226,9 @@ src_install() {
R="${D}" \
install
- pamd_mimic_system radiusd auth account password session
+ if use pam; then
+ pamd_mimic_system radiusd auth account password session
+ fi
# fix #711756
fowners -R radius:radius /etc/raddb