summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/postfix/postfix.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-07-17 20:10:02 -0700
committerJoe MacDonald <joe_macdonald@mentor.com>2017-09-08 16:38:19 -0400
commitf7ce2ae063e63f0063430cf27ea3820df4c0f42e (patch)
tree11c91a6e00dd5d8a526fcd236b8fca94719f2904 /meta-networking/recipes-daemons/postfix/postfix.inc
parent431120f77cc6fe4b092f8a750363acbf8cf58396 (diff)
downloadmeta-openembedded-f7ce2ae063e63f0063430cf27ea3820df4c0f42e.tar.gz
postfix: Disable nis support on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-daemons/postfix/postfix.inc')
-rw-r--r--meta-networking/recipes-daemons/postfix/postfix.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc b/meta-networking/recipes-daemons/postfix/postfix.inc
index 4c794ffd6..0ec182a05 100644
--- a/meta-networking/recipes-daemons/postfix/postfix.inc
+++ b/meta-networking/recipes-daemons/postfix/postfix.inc
@@ -60,6 +60,9 @@ export AUXLIBS-ldap = "\
60export CCARGS-ldap_class-native = "" 60export CCARGS-ldap_class-native = ""
61export AUXLIBS-ldap_class-native = "" 61export AUXLIBS-ldap_class-native = ""
62 62
63export CCARGS-nonis_libc-musl = "-DNO_NIS"
64export CCARGS-nonis = ""
65
63# SASL support -DUSE_LDAP_SASL -DUSE_SASL_AUTH 66# SASL support -DUSE_LDAP_SASL -DUSE_SASL_AUTH
64# current openldap didn't enable SASL 67# current openldap didn't enable SASL
65export CCARGS-sasl = "\ 68export CCARGS-sasl = "\
@@ -70,10 +73,11 @@ export CCARGS-sasl_class-native = ""
70export AUXLIBS-sasl_class-native = "" 73export AUXLIBS-sasl_class-native = ""
71 74
72# PCRE, TLS support default 75# PCRE, TLS support default
73export CCARGS = "${CFLAGS} -DHAS_PCRE -DUSE_TLS ${CCARGS-ldap} ${CCARGS-sasl}" 76export CCARGS = "${CFLAGS} -DHAS_PCRE -DUSE_TLS ${CCARGS-ldap} ${CCARGS-sasl} ${CCARGS-nonis}"
74export AUXLIBS = "-lpcre -lssl -lcrypto ${AUXLIBS-sasl} ${AUXLIBS-ldap}" 77export AUXLIBS = "-lpcre -lssl -lcrypto ${AUXLIBS-sasl} ${AUXLIBS-ldap}"
75export POSTCONF = "${STAGING_DIR_NATIVE}${sbindir_native}/postconf" 78export POSTCONF = "${STAGING_DIR_NATIVE}${sbindir_native}/postconf"
76 79
80export CCARGS-nonis_libc-musl = "-DNO_NIS"
77# OPT,DEBUG is aready in CFLAGS 81# OPT,DEBUG is aready in CFLAGS
78# ignore the OPTS="CC=$CC" in Makefile it will not use the CC=$CC $CCARGS 82# ignore the OPTS="CC=$CC" in Makefile it will not use the CC=$CC $CCARGS
79EXTRA_OEMAKE += "OPT= DEBUG= OPTS= " 83EXTRA_OEMAKE += "OPT= DEBUG= OPTS= "