git: a2176e0a69c7 - main - audio/caps-plugins: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 19 Jul 2023 20:45:42 UTC
The branch main has been updated by bofh:

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

commit a2176e0a69c7b0490e18d9b2e267f5565fddcdf1
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-19 20:08:34 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-19 20:45:28 +0000

    audio/caps-plugins: Fix build with llvm16
    
    - Pet portclippy
    - Adopt port
    
    Sponsored by:   The FreeBSD Foundation
---
 audio/caps-plugins/Makefile | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/audio/caps-plugins/Makefile b/audio/caps-plugins/Makefile
index 150c6dbb7164..01094e2ff1c9 100644
--- a/audio/caps-plugins/Makefile
+++ b/audio/caps-plugins/Makefile
@@ -5,25 +5,27 @@ CATEGORIES=	audio
 MASTER_SITES=	http://quitte.de/dsp/
 DISTNAME=	caps_${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	The C* LADSPA Audio Plugin Suite
 WWW=		http://quitte.de/dsp/caps.html
 
-BUILD_DEPENDS=	${LOCALBASE}/include/ladspa.h:audio/ladspa
-RUN_DEPENDS=	${LOCALBASE}/include/ladspa.h:audio/ladspa
-
-OPTIONS_DEFINE=	OPTIMIZED_CFLAGS
-
 LICENSE=	GPLv2 GPLv3
 LICENSE_COMB=	dual
 
-WRKSRC=		${WRKDIR}/caps-${PORTVERSION}
+BUILD_DEPENDS=	${LOCALBASE}/include/ladspa.h:audio/ladspa
+RUN_DEPENDS=	${LOCALBASE}/include/ladspa.h:audio/ladspa
 
 USES=		gmake
+USE_CXXSTD=	c++14
+
 MAKE_ARGS=	CC="${CXX}" CFLAGS="${CXXFLAGS} -fPIC -DPIC"
 
+WRKSRC=		${WRKDIR}/caps-${PORTVERSION}
+
 PLIST_FILES=	lib/ladspa/caps.so share/ladspa/rdf/caps.rdf
 
+OPTIONS_DEFINE=	OPTIMIZED_CFLAGS
+
 OPTIMIZED_CFLAGS_CFLAGS=	-O2 -ffast-math -funroll-loops
 
 do-install: