aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlater, Joseph <joe.slater@windriver.com>2018-03-19 16:50:25 -0700
committerKhem Raj <raj.khem@gmail.com>2018-05-18 12:30:55 -0700
commitc1bd9803aa3895bb6c41235d64c655294e875105 (patch)
treefa7e77b9510c0e91157afad7d73f87f83406a5fc
parent8203084059d842a5f663c57c795afddd7caacbc1 (diff)
downloadmeta-openembedded-contrib-c1bd9803aa3895bb6c41235d64c655294e875105.tar.gz
postfix: remove host references from makedefs.out
Several -I definitions contain the value of ${STAGING_DIR_TARGET} which should be removed to reference directories on the target. Signed-off-by: Joe Slater <joe.slater@windriver.com>
-rw-r--r--meta-networking/recipes-daemons/postfix/postfix.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc b/meta-networking/recipes-daemons/postfix/postfix.inc
index 09447d50ad..a8e7540333 100644
--- a/meta-networking/recipes-daemons/postfix/postfix.inc
+++ b/meta-networking/recipes-daemons/postfix/postfix.inc
@@ -217,6 +217,7 @@ do_install_append_class-native() {
do_install_append_class-target() {
# Remove references to buildmachine paths in target makedefs.out
sed -i 's:-fdebug-prefix-map[^ ]*::g; s:--sysroot=${STAGING_DIR_TARGET}::g' ${D}/etc/postfix/makedefs.out
+ sed -i 's:-I${STAGING_DIR_TARGET}:-I:g' ${D}/etc/postfix/makedefs.out
}
ALTERNATIVE_${PN} = "sendmail"