git: 9f87b5e22445 - main - audio/fcplay: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 20 Jul 2023 17:43:09 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9f87b5e2244527b66b29a87054a8df2bc8ec417f

commit 9f87b5e2244527b66b29a87054a8df2bc8ec417f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-20 13:12:44 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-20 17:42:33 +0000

    audio/fcplay: Fix build with llvm16
    
    Sponsored by:   The FreeBSD Foundation
---
 audio/fcplay/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/audio/fcplay/Makefile b/audio/fcplay/Makefile
index eca88ac8c172..8f989e9c54bd 100644
--- a/audio/fcplay/Makefile
+++ b/audio/fcplay/Makefile
@@ -13,11 +13,13 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libsidplay.so:audio/libsidplay
 
-USES=		gmake tar:tgz
+USES=		gmake localbase tar:tgz
+USE_CXXSTD=	c++14
+
 GNU_CONFIGURE=	yes
-CXXFLAGS+=	-I${LOCALBASE}/include
-PORTDOCS=	ABOUT POINTER
+
 PLIST_FILES=	bin/fcplay
+PORTDOCS=	ABOUT POINTER
 
 OPTIONS_DEFINE=	DOCS