summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-print')
-rw-r--r--net-print/cups/cups-2.3.3-r2.ebuild (renamed from net-print/cups/cups-2.3.3-r1.ebuild)7
-rw-r--r--net-print/cups/cups-9999.ebuild7
2 files changed, 8 insertions, 6 deletions
diff --git a/net-print/cups/cups-2.3.3-r1.ebuild b/net-print/cups/cups-2.3.3-r2.ebuild
index d6375da0adfe..a367e9deed5b 100644
--- a/net-print/cups/cups-2.3.3-r1.ebuild
+++ b/net-print/cups/cups-2.3.3-r2.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
@@ -253,8 +253,9 @@ multilib_src_install_all() {
"${T}"/cupsd || die
doinitd "${T}"/cupsd
- # install our pam script
- pamd_mimic_system cups auth account
+ if use pam; then
+ pamd_mimic_system cups auth account
+ fi
if use xinetd ; then
# correct path
diff --git a/net-print/cups/cups-9999.ebuild b/net-print/cups/cups-9999.ebuild
index dd20b85bf923..7fecb1e8f2ee 100644
--- a/net-print/cups/cups-9999.ebuild
+++ b/net-print/cups/cups-9999.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
@@ -251,8 +251,9 @@ multilib_src_install_all() {
"${T}"/cupsd || die
doinitd "${T}"/cupsd
- # install our pam script
- pamd_mimic_system cups auth account
+ if use pam; then
+ pamd_mimic_system cups auth account
+ fi
if use xinetd ; then
# correct path