summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/msmtp
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/msmtp')
-rw-r--r--meta/recipes-extended/msmtp/msmtp_1.8.4.bb9
1 files changed, 4 insertions, 5 deletions
diff --git a/meta/recipes-extended/msmtp/msmtp_1.8.4.bb b/meta/recipes-extended/msmtp/msmtp_1.8.4.bb
index 888c1bbb5a..0f10500b38 100644
--- a/meta/recipes-extended/msmtp/msmtp_1.8.4.bb
+++ b/meta/recipes-extended/msmtp/msmtp_1.8.4.bb
@@ -19,11 +19,10 @@ inherit gettext autotools update-alternatives pkgconfig
19EXTRA_OECONF += "--without-libsecret --without-libgsasl --without-libidn" 19EXTRA_OECONF += "--without-libsecret --without-libgsasl --without-libidn"
20 20
21ALTERNATIVE_${PN} = "sendmail" 21ALTERNATIVE_${PN} = "sendmail"
22# /usr/lib/sendmial is required by LSB core test
23ALTERNATIVE_${PN}_linuxstdbase = "sendmail usr-lib-sendmail"
22ALTERNATIVE_TARGET[sendmail] = "${bindir}/msmtp" 24ALTERNATIVE_TARGET[sendmail] = "${bindir}/msmtp"
23ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail" 25ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail"
26ALTERNATIVE_TARGET[usr-lib-sendmail] = "${bindir}/msmtp"
27ALTERNATIVE_LINK_NAME[usr-lib-sendmail] = "/usr/lib/sendmail"
24ALTERNATIVE_PRIORITY = "100" 28ALTERNATIVE_PRIORITY = "100"
25
26pkg_postinst_${PN}_linuxstdbase () {
27 # /usr/lib/sendmial is required by LSB core test
28 [ ! -L $D/usr/lib/sendmail ] && ln -sf ${sbindir}/sendmail $D/usr/lib/
29}