aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons
diff options
context:
space:
mode:
authorSlater, Joseph <joe.slater@windriver.com>2018-03-19 16:50:25 -0700
committerArmin Kuster <akuster808@gmail.com>2018-05-17 08:32:26 -0700
commit83cd75793ca1679f3842b27864ffc0b8a49e7fbc (patch)
treefa7e77b9510c0e91157afad7d73f87f83406a5fc /meta-networking/recipes-daemons
parent51411b3c7af5df603d341f0cd2641cf55847f564 (diff)
downloadmeta-openembedded-contrib-83cd75793ca1679f3842b27864ffc0b8a49e7fbc.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>
Diffstat (limited to 'meta-networking/recipes-daemons')
-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"