diff options
| author | Hongxu Jia <hongxu.jia@windriver.com> | 2025-12-01 15:05:23 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-12-01 08:45:52 -0800 |
| commit | 9ec1605567914bba49ac32ba425a55d37a4f1a27 (patch) | |
| tree | 6b14b3ec0a2bf42b116c5b4c949a801277571ea4 | |
| parent | e3257c3360a732914ae02a07a7c0fe8c845a492f (diff) | |
| download | meta-openembedded-9ec1605567914bba49ac32ba425a55d37a4f1a27.tar.gz | |
postfix: switch to libpcre2
Postfix 3.7 and later supports pcre2 library [1]
[1] https://www.postfix.org/PCRE_README.html
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-networking/recipes-daemons/postfix/postfix_3.10.5.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.10.5.bb b/meta-networking/recipes-daemons/postfix/postfix_3.10.5.bb index 8b3becda9f..02fe9df7ed 100644 --- a/meta-networking/recipes-daemons/postfix/postfix_3.10.5.bb +++ b/meta-networking/recipes-daemons/postfix/postfix_3.10.5.bb | |||
| @@ -6,7 +6,7 @@ has a definite Sendmail-ish flavor, but the inside is completely different." | |||
| 6 | 6 | ||
| 7 | HOMEPAGE = "http://www.postfix.org" | 7 | HOMEPAGE = "http://www.postfix.org" |
| 8 | SECTION = "mail" | 8 | SECTION = "mail" |
| 9 | DEPENDS = "db icu libpcre libnsl2 m4-native openssl postfix-native \ | 9 | DEPENDS = "db icu libpcre2 libnsl2 m4-native openssl postfix-native \ |
| 10 | ${@bb.utils.contains('DISTRO_FEATURES', 'ldap', 'openldap', '', d)} \ | 10 | ${@bb.utils.contains('DISTRO_FEATURES', 'ldap', 'openldap', '', d)} \ |
| 11 | ${@bb.utils.contains('DISTRO_FEATURES', 'sasl', 'cyrus-sasl', '', d)} \ | 11 | ${@bb.utils.contains('DISTRO_FEATURES', 'sasl', 'cyrus-sasl', '', d)} \ |
| 12 | " | 12 | " |
| @@ -80,8 +80,8 @@ export CCARGS-sasl:class-native = "" | |||
| 80 | export AUXLIBS-sasl:class-native = "" | 80 | export AUXLIBS-sasl:class-native = "" |
| 81 | 81 | ||
| 82 | # PCRE, TLS support default | 82 | # PCRE, TLS support default |
| 83 | export CCARGS = "${CFLAGS} -DHAS_PCRE -DUSE_TLS -I${STAGING_INCDIR}/openssl ${CCARGS-ldap} ${CCARGS-sasl} ${CCARGS-nonis}" | 83 | export CCARGS = "${CFLAGS} -DHAS_PCRE=2 -DUSE_TLS -I${STAGING_INCDIR}/openssl ${CCARGS-ldap} ${CCARGS-sasl} ${CCARGS-nonis}" |
| 84 | export AUXLIBS = "-lpcre -lssl -lcrypto ${AUXLIBS-sasl} ${AUXLIBS-ldap}" | 84 | export AUXLIBS = "-lpcre2-8 -lssl -lcrypto ${AUXLIBS-sasl} ${AUXLIBS-ldap}" |
| 85 | export POSTCONF = "${STAGING_DIR_NATIVE}${sbindir_native}/postconf" | 85 | export POSTCONF = "${STAGING_DIR_NATIVE}${sbindir_native}/postconf" |
| 86 | 86 | ||
| 87 | # OPT,DEBUG is aready in CFLAGS | 87 | # OPT,DEBUG is aready in CFLAGS |
