commit:     32fb4720382f55d6044d852b90f91ab6985de1f8
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 24 11:07:43 2021 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 11:07:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32fb4720

dev-libs/cyrus-sasl: install pam files conditionally

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r4.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r4.ebuild 
b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r4.ebuild
index f03d111d203..9eaef70f35b 100644
--- a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r4.ebuild
+++ b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r4.ebuild
@@ -217,7 +217,9 @@ multilib_src_install_all() {
        docinto html
        dodoc doc/html/*.html
 
-       newpamd "${FILESDIR}/saslauthd.pam-include" saslauthd
+       if use pam; then
+               newpamd "${FILESDIR}/saslauthd.pam-include" saslauthd
+       fi
 
        newinitd "${FILESDIR}/pwcheck.rc6" pwcheck
        systemd_dounit "${FILESDIR}/pwcheck.service"

Reply via email to