git: 677acedd2f97 - main - security/cyrus-sasl2: respect CFLAGS

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Fri, 30 Aug 2024 00:48:54 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=677acedd2f97fe064a834b06bad5be494090d1cd

commit 677acedd2f97fe064a834b06bad5be494090d1cd
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-08-26 16:02:40 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-08-30 00:48:48 +0000

    security/cyrus-sasl2: respect CFLAGS
    
    Currently CFLAGS are not respected, which may result in various crashes, e.g. CPUTYPE is not respected, which results in SIGILL on QorIQ E5500 CPU.
    
    Reported by:    AmigaBSD (on #powerpc64 IRC)
---
 security/cyrus-sasl2/Makefile        | 2 +-
 security/cyrus-sasl2/Makefile.common | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile
index f9e59316137c..b4fe66299145 100644
--- a/security/cyrus-sasl2/Makefile
+++ b/security/cyrus-sasl2/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	4
+PORTREVISION=	5
 
 COMMENT=	RFC 2222 SASL (Simple Authentication and Security Layer)
 WWW=		https://www.cyrusimap.org/sasl/
diff --git a/security/cyrus-sasl2/Makefile.common b/security/cyrus-sasl2/Makefile.common
index 44e686db7afc..682e8d050d53 100644
--- a/security/cyrus-sasl2/Makefile.common
+++ b/security/cyrus-sasl2/Makefile.common
@@ -36,7 +36,7 @@ CONFIGURE_ARGS+=--disable-anon \
 		--disable-srp \
 		--with-dblib=none
 CONFIGURE_ARGS+=${CYRUS_CONFIGURE_ARGS}
-CONFIGURE_ENV=	CC_FOR_BUILD="${CC}"
+CONFIGURE_ENV+=	CC_FOR_BUILD="${CC}"
 MAKE_ENV+=	INSTALL_STRIP_FLAG=${STRIP}
 
 DOCSDIR=	${PREFIX}/share/doc/cyrus-sasl2