diff options
Diffstat (limited to 'meta-networking/recipes-daemons/postfix/postfix.inc')
-rw-r--r-- | meta-networking/recipes-daemons/postfix/postfix.inc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc b/meta-networking/recipes-daemons/postfix/postfix.inc index 17dbf76ce..228a81564 100644 --- a/meta-networking/recipes-daemons/postfix/postfix.inc +++ b/meta-networking/recipes-daemons/postfix/postfix.inc | |||
@@ -7,8 +7,8 @@ has a definite Sendmail-ish flavor, but the inside is completely different." | |||
7 | HOMEPAGE= "http://www.postfix.org" | 7 | HOMEPAGE= "http://www.postfix.org" |
8 | SECTION = "mail" | 8 | SECTION = "mail" |
9 | DEPENDS = "virtual/db libpcre openssl postfix-native \ | 9 | DEPENDS = "virtual/db libpcre openssl postfix-native \ |
10 | ${@base_contains('DISTRO_FEATURES', 'ldap', 'openldap', '', d)} \ | 10 | ${@bb.utils.contains('DISTRO_FEATURES', 'ldap', 'openldap', '', d)} \ |
11 | ${@base_contains('DISTRO_FEATURES', 'sasl', 'cyrus-sasl', '', d)} \ | 11 | ${@bb.utils.contains('DISTRO_FEATURES', 'sasl', 'cyrus-sasl', '', d)} \ |
12 | " | 12 | " |
13 | DEPENDS_class-native = "virtual/db-native openssl-native libpcre-native" | 13 | DEPENDS_class-native = "virtual/db-native openssl-native libpcre-native" |
14 | 14 | ||
@@ -52,9 +52,9 @@ export SYSLIBS = "${LDFLAGS}" | |||
52 | 52 | ||
53 | # ldap support | 53 | # ldap support |
54 | export CCARGS-ldap = "\ | 54 | export CCARGS-ldap = "\ |
55 | ${@base_contains('DISTRO_FEATURES', 'ldap', '-DHAS_LDAP', '', d)}" | 55 | ${@bb.utils.contains('DISTRO_FEATURES', 'ldap', '-DHAS_LDAP', '', d)}" |
56 | export AUXLIBS-ldap = "\ | 56 | export AUXLIBS-ldap = "\ |
57 | ${@base_contains('DISTRO_FEATURES', 'ldap', '-lldap -llber', '', d)}" | 57 | ${@bb.utils.contains('DISTRO_FEATURES', 'ldap', '-lldap -llber', '', d)}" |
58 | 58 | ||
59 | # no native openldap | 59 | # no native openldap |
60 | export CCARGS-ldap_class-native = "" | 60 | export CCARGS-ldap_class-native = "" |
@@ -63,9 +63,9 @@ export AUXLIBS-ldap_class-native = "" | |||
63 | # SASL support -DUSE_LDAP_SASL -DUSE_SASL_AUTH | 63 | # SASL support -DUSE_LDAP_SASL -DUSE_SASL_AUTH |
64 | # current openldap didn't enable SASL | 64 | # current openldap didn't enable SASL |
65 | export CCARGS-sasl = "\ | 65 | export CCARGS-sasl = "\ |
66 | ${@base_contains('DISTRO_FEATURES', 'sasl', '-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I=/usr/include/sasl', '', d)}" | 66 | ${@bb.utils.contains('DISTRO_FEATURES', 'sasl', '-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I=/usr/include/sasl', '', d)}" |
67 | export AUXLIBS-sasl = "\ | 67 | export AUXLIBS-sasl = "\ |
68 | ${@base_contains('DISTRO_FEATURES', 'sasl', '-lsasl2', '', d)}" | 68 | ${@bb.utils.contains('DISTRO_FEATURES', 'sasl', '-lsasl2', '', d)}" |
69 | export CCARGS-sasl_class-native = "" | 69 | export CCARGS-sasl_class-native = "" |
70 | export AUXLIBS-sasl_class-native = "" | 70 | export AUXLIBS-sasl_class-native = "" |
71 | 71 | ||