summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/netatalk/netatalk-3.1.12-r1.ebuild (renamed from net-fs/netatalk/netatalk-3.1.12.ebuild)8
1 files changed, 6 insertions, 2 deletions
diff --git a/net-fs/netatalk/netatalk-3.1.12.ebuild b/net-fs/netatalk/netatalk-3.1.12-r1.ebuild
index 010c1ff320ba..3e29c32f7ef0 100644
--- a/net-fs/netatalk/netatalk-3.1.12.ebuild
+++ b/net-fs/netatalk/netatalk-3.1.12-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
@@ -119,7 +119,11 @@ src_install() {
# The pamd file isn't what we need, use pamd_mimic_system
rm -rf "${ED}/etc/pam.d" || die
- pamd_mimic_system netatalk auth account password session
+
+
+ if use pam; then
+ pamd_mimic_system netatalk auth account password session
+ fi
sed \
-e "s|:SBINDIR:|${EPREFIX}/usr/sbin|g" \