summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-daemons/postfix/postfix.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc b/meta-networking/recipes-daemons/postfix/postfix.inc
index c58787ed65..63de2a024f 100644
--- a/meta-networking/recipes-daemons/postfix/postfix.inc
+++ b/meta-networking/recipes-daemons/postfix/postfix.inc
@@ -201,6 +201,11 @@ do_install_append_class-native() {
201 ln -sf ../sbin/sendmail.postfix ${D}${bindir}/mailq 201 ln -sf ../sbin/sendmail.postfix ${D}${bindir}/mailq
202} 202}
203 203
204do_install_append_class-target() {
205 # Remove references to buildmachine paths in target makedefs.out
206 sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' ${D}/etc/postfix/makedefs.out
207}
208
204NATIVE_INSTALL_WORKS = "1" 209NATIVE_INSTALL_WORKS = "1"
205 210
206ALTERNATIVE_${PN} = "sendmail" 211ALTERNATIVE_${PN} = "sendmail"