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.ebuild | 4 |
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 @@ -51,33 +51,35 @@ src_compile() { $(use_enable pipe) \ $(use_enable anon) \ $(use_enable fs) \ || die "econf failed" emake || die "make failed" } src_install() { make DESTDIR="${D}" install || die "make install failed" 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 dodoc tools/${i} done cd "${D}/etc/jabber/" sed -i \ -e 's,/var/jabberd/pid/,/var/run/jabber/,g' \ -e 's,/var/jabberd/log/,/var/log/jabber/,g' \ -e 's,/var/jabberd/db,/var/spool/jabber/,g' \ *.xml *.xml.dist || die "sed failed" use berkdb && sed -i \ -e 's,<module>mysql</module>,<module>db</module>,' \ c2s.xml* |