diff options
author | Ross Burton <ross.burton@intel.com> | 2015-08-13 11:51:49 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-08-24 13:58:19 +0200 |
commit | c2cea10597ed1b843e00aa5ecedfd6005c7d7799 (patch) | |
tree | 886275b8d2f664910e74aaf1fda974b0ba7426fe /meta-networking/recipes-daemons/postfix | |
parent | 6682d8db0346f2cb515c3b128033db21fedff06a (diff) | |
download | meta-openembedded-c2cea10597ed1b843e00aa5ecedfd6005c7d7799.tar.gz |
recipes: use class-native instead of deprecated virtclass-native.
virtclass overrides are deprecated, so use class overrides instead.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta-networking/recipes-daemons/postfix')
-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 0740f0fa9..3e7f91867 100644 --- a/meta-networking/recipes-daemons/postfix/postfix.inc +++ b/meta-networking/recipes-daemons/postfix/postfix.inc | |||
@@ -10,7 +10,7 @@ DEPENDS = "virtual/db libpcre openssl postfix-native \ | |||
10 | ${@base_contains('DISTRO_FEATURES', 'ldap', 'openldap', '', d)} \ | 10 | ${@base_contains('DISTRO_FEATURES', 'ldap', 'openldap', '', d)} \ |
11 | ${@base_contains('DISTRO_FEATURES', 'sasl', 'cyrus-sasl', '', d)} \ | 11 | ${@base_contains('DISTRO_FEATURES', 'sasl', 'cyrus-sasl', '', d)} \ |
12 | " | 12 | " |
13 | DEPENDS_virtclass-native = "virtual/db-native openssl-native libpcre-native" | 13 | DEPENDS_class-native = "virtual/db-native openssl-native libpcre-native" |
14 | 14 | ||
15 | LICENSE = "IPL-1.0" | 15 | LICENSE = "IPL-1.0" |
16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=64375f37431336ea1b1b3005fe3fa354" | 16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=64375f37431336ea1b1b3005fe3fa354" |
@@ -54,8 +54,8 @@ export AUXLIBS-ldap = "\ | |||
54 | ${@base_contains('DISTRO_FEATURES', 'ldap', '-lldap -llber', '', d)}" | 54 | ${@base_contains('DISTRO_FEATURES', 'ldap', '-lldap -llber', '', d)}" |
55 | 55 | ||
56 | # no native openldap | 56 | # no native openldap |
57 | export CCARGS-ldap_virtclass-native = "" | 57 | export CCARGS-ldap_class-native = "" |
58 | export AUXLIBS-ldap_virtclass-native = "" | 58 | export AUXLIBS-ldap_class-native = "" |
59 | 59 | ||
60 | # SASL support -DUSE_LDAP_SASL -DUSE_SASL_AUTH | 60 | # SASL support -DUSE_LDAP_SASL -DUSE_SASL_AUTH |
61 | # current openldap didn't enable SASL | 61 | # current openldap didn't enable SASL |
@@ -63,8 +63,8 @@ export CCARGS-sasl = "\ | |||
63 | ${@base_contains('DISTRO_FEATURES', 'sasl', '-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I=/usr/include/sasl', '', d)}" | 63 | ${@base_contains('DISTRO_FEATURES', 'sasl', '-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I=/usr/include/sasl', '', d)}" |
64 | export AUXLIBS-sasl = "\ | 64 | export AUXLIBS-sasl = "\ |
65 | ${@base_contains('DISTRO_FEATURES', 'sasl', '-lsasl2', '', d)}" | 65 | ${@base_contains('DISTRO_FEATURES', 'sasl', '-lsasl2', '', d)}" |
66 | export CCARGS-sasl_virtclass-native = "" | 66 | export CCARGS-sasl_class-native = "" |
67 | export AUXLIBS-sasl_virtclass-native = "" | 67 | export AUXLIBS-sasl_class-native = "" |
68 | 68 | ||
69 | # PCRE, TLS support default | 69 | # PCRE, TLS support default |
70 | export CCARGS = "${CFLAGS} -DHAS_PCRE -DUSE_TLS ${CCARGS-ldap} ${CCARGS-sasl}" | 70 | export CCARGS = "${CFLAGS} -DHAS_PCRE -DUSE_TLS ${CCARGS-ldap} ${CCARGS-sasl}" |
@@ -119,7 +119,7 @@ do_compile () { | |||
119 | oe_runmake | 119 | oe_runmake |
120 | } | 120 | } |
121 | 121 | ||
122 | do_install_prepend_virtclass-native() { | 122 | do_install_prepend_class-native() { |
123 | export POSTCONF="bin/postconf" | 123 | export POSTCONF="bin/postconf" |
124 | } | 124 | } |
125 | 125 | ||