summaryrefslogtreecommitdiff
path: root/net-im/jabberd/jabberd-2.1.11.ebuild
Side-by-side diff
Diffstat (limited to 'net-im/jabberd/jabberd-2.1.11.ebuild') (more/less context) (ignore whitespace changes)
-rw-r--r--net-im/jabberd/jabberd-2.1.11.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-im/jabberd/jabberd-2.1.11.ebuild b/net-im/jabberd/jabberd-2.1.11.ebuild
index fc4afd4..c4b19cb 100644
--- a/net-im/jabberd/jabberd-2.1.11.ebuild
+++ b/net-im/jabberd/jabberd-2.1.11.ebuild
@@ -63,9 +63,11 @@ src_install() {
fowners jabber:jabber /usr/bin/{jabberd,router,resolver,sm,c2s,s2s}
fperms 750 /usr/bin/{jabberd,router,resolver,sm,c2s,s2s}
newinitd "${FILESDIR}/jabberd-${PV}.init" jabberd || die "newinitd failed"
- use pam && newpamd "${FILESDIR}/jabberd-${PV}.pamd" jabberd || die "newpamd failed"
+ if use pam ; then
+ newpamd "${FILESDIR}/jabberd-${PV}.pamd" jabberd || die "newpamd failed"
+ fi
dodoc AUTHORS BUGS NEWS PROTOCOL README UPGRADE
docinto tools
for i in db-* migrate.pl pipe-auth.pl; do