summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@gmx.de>2022-03-15 23:10:38 +0100
committerJuraj Lutter <otis@FreeBSD.org>2022-03-15 23:12:44 +0100
commit4aa6c3b488aeb7b1ff2768c3d541d0377d72ff12 (patch)
tree4c26864ddf2699cb47af1afbc0629fa050e21d9a
parenteditors/emacs-devel: Update to git snapshot 1a07854 (diff)
mail/postfix: Use proper PCRE
- bump portscout expression to monitor version postfix version 3.7 - adopt SASL description fix from postfix-current
-rw-r--r--mail/postfix/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile
index ea67595bf2bc..63e2637b7817 100644
--- a/mail/postfix/Makefile
+++ b/mail/postfix/Makefile
@@ -2,7 +2,7 @@
PORTNAME= postfix
DISTVERSION= 3.7.0
-PORTREVISION?= 0
+PORTREVISION?= 1
PORTEPOCH= 1
CATEGORIES= mail
MASTER_SITES= http://ftp.porcupine.org/mirrors/postfix-release/ \
@@ -47,7 +47,7 @@ SCRIPTS_ENV+= POSTFIX_DEFAULT_MTA="${POSTFIX_DEFAULT_MTA}"
CONFLICTS_INSTALL= courier-0.* opensmtpd opensmtpd-devel \
postfix-current sendmail sendmail-devel
-PORTSCOUT= limit:^3\.6\.
+PORTSCOUT= limit:^3\.7\.
USERS= postfix
GROUPS= mail maildrop postfix
@@ -193,7 +193,7 @@ POSTFIX_CCARGS+= -DNO_EAI
.if ${PORT_OPTIONS:MPCRE2}
DYN_EXT+= pcre
-POSTFIX_CCARGS+= -DHAS_PCRE -I${LOCALBASE}/include
+POSTFIX_CCARGS+= -DHAS_PCRE=2 -I${LOCALBASE}/include
POSTFIX_DYN_AUXLIBS+= "AUXLIBS_PCRE=`${LOCALBASE}/bin/pcre2-config --libs8`"
.else
POSTFIX_CCARGS+= -DNO_PCRE
@@ -312,7 +312,7 @@ post-patch:
.if ${PORT_OPTIONS:MSASL} && ! ${PORT_OPTIONS:MMYSQL} && exists(${LOCALBASE}/lib/libsasl2.a)
@if /usr/bin/nm ${LOCALBASE}/lib/libsasl2.a | ${GREP} -wq "mysql_init"; then \
${ECHO_MSG}; \
- ${ECHO_MSG} "Your SASL library it's compiled with MYSQL"; \
+ ${ECHO_MSG} "Your SASL library is compiled with MYSQL"; \
${ECHO_MSG} "If you use MYSQL in ${PORTNAME} consider CTRL+C and"; \
${ECHO_MSG} "select MYSQL OPTION in config menu."; \
${ECHO_MSG} "# make clean config"; \