git: 83a63a66b6da - main - graphics/ampasCTL: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 21 Jul 2023 18:26:21 UTC
The branch main has been updated by bofh:

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

commit 83a63a66b6daaa39954b194f9acf18faacee2142
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-21 17:35:03 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-21 18:26:13 +0000

    graphics/ampasCTL: Fix build with llvm16
    
    Sponsored by:   The FreeBSD Foundation
---
 graphics/ampasCTL/Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/graphics/ampasCTL/Makefile b/graphics/ampasCTL/Makefile
index 6899054e8b00..58ec697fdba0 100644
--- a/graphics/ampasCTL/Makefile
+++ b/graphics/ampasCTL/Makefile
@@ -17,20 +17,20 @@ LIB_DEPENDS=	libImath.so:math/Imath \
 		libtiff.so:graphics/tiff \
 		libAcesContainer.so:graphics/ampasACES-container
 
-USES=		compiler:c++11-lang cmake pathfix pkgconfig
-USE_LDCONFIG=	yes
+USES=		cmake compiler:c++11-lang localbase:ldflags pathfix pkgconfig
+USE_CXXSTD=	c++11
 USE_GITHUB=	yes
-
 GH_ACCOUNT=	ampas
 GH_PROJECT=	CTL
 GH_TAGNAME=	57b48a2
+USE_LDCONFIG=	yes
 
 CFLAGS+=	-I${LOCALBASE}/include/OpenEXR -I${LOCALBASE}/include/Imath
-LDFLAGS+=	-L${LOCALBASE}/lib
+
+PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS
 
-PORTDOCS=	*
 DOCSRCDIR1=	${WRKSRC}
 DOC_FILES1=	AUTHORS CHANGELOG README.md
 DOCSRCDIR2=	${WRKSRC}/doc