From: Hongxu Jia <[email protected]> Postfix 3.7 and later supports pcre2 library [1]
[1] https://www.postfix.org/PCRE_README.html Signed-off-by: Hongxu Jia <[email protected]> Signed-off-by: Khem Raj <[email protected]> (cherry picked from commit 9ec1605567914bba49ac32ba425a55d37a4f1a27) Signed-off-by: Ankur Tyagi <[email protected]> --- meta-networking/recipes-daemons/postfix/postfix_3.10.5.bb | 6 +++--- 1 file 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." HOMEPAGE = "http://www.postfix.org" SECTION = "mail" -DEPENDS = "db icu libpcre libnsl2 m4-native openssl postfix-native \ +DEPENDS = "db icu libpcre2 libnsl2 m4-native openssl postfix-native \ ${@bb.utils.contains('DISTRO_FEATURES', 'ldap', 'openldap', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'sasl', 'cyrus-sasl', '', d)} \ " @@ -80,8 +80,8 @@ export CCARGS-sasl:class-native = "" export AUXLIBS-sasl:class-native = "" # PCRE, TLS support default -export CCARGS = "${CFLAGS} -DHAS_PCRE -DUSE_TLS -I${STAGING_INCDIR}/openssl ${CCARGS-ldap} ${CCARGS-sasl} ${CCARGS-nonis}" -export AUXLIBS = "-lpcre -lssl -lcrypto ${AUXLIBS-sasl} ${AUXLIBS-ldap}" +export CCARGS = "${CFLAGS} -DHAS_PCRE=2 -DUSE_TLS -I${STAGING_INCDIR}/openssl ${CCARGS-ldap} ${CCARGS-sasl} ${CCARGS-nonis}" +export AUXLIBS = "-lpcre2-8 -lssl -lcrypto ${AUXLIBS-sasl} ${AUXLIBS-ldap}" export POSTCONF = "${STAGING_DIR_NATIVE}${sbindir_native}/postconf" # OPT,DEBUG is aready in CFLAGS
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#122569): https://lists.openembedded.org/g/openembedded-devel/message/122569 Mute This Topic: https://lists.openembedded.org/mt/116715775/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
