summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 d2f33569e1..caf1f80770 100644
--- a/meta-networking/recipes-daemons/postfix/postfix.inc
+++ b/meta-networking/recipes-daemons/postfix/postfix.inc
@@ -204,6 +204,11 @@ do_install_append_class-native() {
204 ln -sf ../sbin/sendmail.postfix ${D}${bindir}/mailq 204 ln -sf ../sbin/sendmail.postfix ${D}${bindir}/mailq
205} 205}
206 206
207do_install_append_class-target() {
208 # Remove references to buildmachine paths in target makedefs.out
209 sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' ${D}/etc/postfix/makedefs.out
210}
211
207NATIVE_INSTALL_WORKS = "1" 212NATIVE_INSTALL_WORKS = "1"
208 213
209ALTERNATIVE_${PN} = "sendmail" 214ALTERNATIVE_${PN} = "sendmail"