git: 50aa7b58c889 - main - devel/freebsd-gcc9: Use USE_CXXSTD in place of bare CXXFLAGS.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 05 Jul 2023 18:29:46 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/ports/commit/?id=50aa7b58c8897a04a414683b65f3fff66a232ac0

commit 50aa7b58c8897a04a414683b65f3fff66a232ac0
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-07-05 18:28:33 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-07-05 18:29:28 +0000

    devel/freebsd-gcc9: Use USE_CXXSTD in place of bare CXXFLAGS.
    
    Suggested by:   danfe
---
 devel/freebsd-gcc9/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/freebsd-gcc9/Makefile b/devel/freebsd-gcc9/Makefile
index fd4ca08eb754..7b9bcdd8db65 100644
--- a/devel/freebsd-gcc9/Makefile
+++ b/devel/freebsd-gcc9/Makefile
@@ -26,7 +26,7 @@ TARGETARCH=	${FLAVOR}
 USES=		compiler:c++11-lang cpe gmake iconv libtool makeinfo tar:xz
 CPE_VENDOR=	gnu
 
-CXXFLAGS+=	-std=c++11
+USE_CXXSTD=	c++11
 
 PLIST_SUB=	OPSYS=${OPSYS:tl} \
 		SUFFIX=${SUFFIX} \