From be22e4e5f1fb06d357fcb7f6e78501d78ccf26dc Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Sat, 29 Apr 2023 17:16:56 +0200 Subject: [PATCH] mail/meta1: Unbreak on HEAD - Utilize OPTIONSNG while I am here Approved by: portmgr (blanket) --- mail/meta1/Makefile | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/mail/meta1/Makefile b/mail/meta1/Makefile index 30b538c9685c1..25cf0c4c15216 100644 --- a/mail/meta1/Makefile +++ b/mail/meta1/Makefile @@ -47,40 +47,33 @@ OPTIONS_DEFAULT= PMILTER DKIM SASL2 TLS NO_OPTIONS_SORT=yes OPTIONS_SUB= yes -PMILTER_DESC= Adds policy milter support DKIM_DESC= Enable DKIM signing support MSP_DESC= Enable mail submision program -SASL2_DESC= Adds SASL2 support +PMILTER_DESC= Adds policy milter support SASL2AUTHD_DESC= Enable plaintext authentication via SASL2 +SASL2_DESC= Adds SASL2 support -PMILTER_USES= ssl -PMILTER_CONFIGURE_ENABLE= pmilter DKIM_CONFIGURE_ENABLE= DKIM +IPV6_MAKE_ENV= MTA_NETINET6=1 MSP_CONFIGURE_ENABLE= msp +MSP_CONFLICTS= courier-0.* postfix-1.* postfix-2.* smail-3.* zmailer-2.* opensmtpd-* sendmail-* +PMILTER_USES= ssl +PMILTER_CONFIGURE_ENABLE= pmilter +SASL2AUTHD_IMPLIES= SASL2 +SASL2AUTHD_RUN_DEPENDS= saslauthd:security/cyrus-sasl2-saslauthd SASL2_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 -SASL2_CONFIGURE_ENABLE= SASL SASL2_CONFIGURE_ON= --with-sasl-incdir=${LOCALBASE}/include \ --with-sasl-libdir=${LOCALBASE}/lib -SASL2AUTHD_RUN_DEPENDS= saslauthd:security/cyrus-sasl2-saslauthd +SASL2_CONFIGURE_ENABLE= SASL TLS_USES= ssl TLS_CONFIGURE_ENABLE= TLS TLS_CPPFLAGS= -I${LOCALBASE}/include TLS_LDFLAGS= -L${LOCALBASE}/lib -.include - -.if ${PORT_OPTIONS:MIPV6} -MAKE_ENV+= MTA_NETINET6=1 -.endif - -.if ${PORT_OPTIONS:MMSP} -CONFLICTS+= courier-0.* postfix-1.* postfix-2.* smail-3.* zmailer-2.* opensmtpd-* sendmail-* -.endif +.include -.if ${PORT_OPTIONS:MSASL2AUTHD} -.if empty(PORT_OPTIONS:MSASL2) -IGNORE= option SASL2AUTHD needs option SASL2 -.endif +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +CFLAGS+= -Wno-error=int-conversion .endif post-configure: @@ -120,4 +113,4 @@ post-install: cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .endif -.include +.include