SLOT="0"
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 ~sparc x86 ~ppc-macos ~x64-macos ~x86-macos"
IUSE="berkdb bidi +clients emacs gdbm sasl guile ipv6 kerberos kyotocabinet \
- ldap mysql nls pam postgres python servers ssl static-libs +threads tcpd \
+ ldap mysql nls pam postgres python servers split-usr ssl static-libs +threads tcpd \
tokyocabinet"
RDEPEND="!mail-client/nmh
}
src_install() {
- emake DESTDIR="${D}" install
+ default
insinto /etc
# bug 613112
newinitd "${FILESDIR}"/comsatd.initd comsatd
fi
- dodoc AUTHORS ChangeLog NEWS README* THANKS TODO
-
# compatibility link
- use clients && dosym /usr/bin/mail /bin/mail
+ if use clients && use split-usr; then
+ dosym ../usr/bin/mail /bin/mail
+ fi
- use static-libs || find "${D}" -name "*.la" -delete
+ if ! use static-libs; then
+ find "${D}" -name "*.la" -delete || die
+ fi
}
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos"
IUSE="berkdb bidi +clients emacs gdbm sasl guile ipv6 kerberos kyotocabinet \
- ldap mysql nls pam postgres python servers ssl static-libs +threads tcpd \
+ ldap mysql nls pam postgres python servers split-usr ssl static-libs +threads tcpd \
tokyocabinet"
RDEPEND="!mail-client/nmh
src_install() {
default
- emake DESTDIR="${D}" install
insinto /etc
# bug 613112
fi
# compatibility link
- use clients && dosym /usr/bin/mail /bin/mail
+ if use clients && use split-usr; then
+ dosym ../usr/bin/mail /bin/mail
+ fi
- use static-libs || find "${D}" -name "*.la" -delete
+ if ! use static-libs; then
+ find "${D}" -name "*.la" -delete || die
+ fi
}