summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/postfix
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-08-13 11:51:49 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2015-08-24 13:58:19 +0200
commitc2cea10597ed1b843e00aa5ecedfd6005c7d7799 (patch)
tree886275b8d2f664910e74aaf1fda974b0ba7426fe /meta-networking/recipes-daemons/postfix
parent6682d8db0346f2cb515c3b128033db21fedff06a (diff)
downloadmeta-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.inc12
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"
13DEPENDS_virtclass-native = "virtual/db-native openssl-native libpcre-native" 13DEPENDS_class-native = "virtual/db-native openssl-native libpcre-native"
14 14
15LICENSE = "IPL-1.0" 15LICENSE = "IPL-1.0"
16LIC_FILES_CHKSUM = "file://LICENSE;md5=64375f37431336ea1b1b3005fe3fa354" 16LIC_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
57export CCARGS-ldap_virtclass-native = "" 57export CCARGS-ldap_class-native = ""
58export AUXLIBS-ldap_virtclass-native = "" 58export 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)}"
64export AUXLIBS-sasl = "\ 64export AUXLIBS-sasl = "\
65 ${@base_contains('DISTRO_FEATURES', 'sasl', '-lsasl2', '', d)}" 65 ${@base_contains('DISTRO_FEATURES', 'sasl', '-lsasl2', '', d)}"
66export CCARGS-sasl_virtclass-native = "" 66export CCARGS-sasl_class-native = ""
67export AUXLIBS-sasl_virtclass-native = "" 67export AUXLIBS-sasl_class-native = ""
68 68
69# PCRE, TLS support default 69# PCRE, TLS support default
70export CCARGS = "${CFLAGS} -DHAS_PCRE -DUSE_TLS ${CCARGS-ldap} ${CCARGS-sasl}" 70export 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
122do_install_prepend_virtclass-native() { 122do_install_prepend_class-native() {
123 export POSTCONF="bin/postconf" 123 export POSTCONF="bin/postconf"
124} 124}
125 125