git: 0a78610302da - main - graphics/sampleicc: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 18 Jul 2023 22:23:40 UTC
The branch main has been updated by bofh:

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

commit 0a78610302da2a19347893fc7fe13d30bcd0a740
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-18 19:02:41 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-18 22:23:26 +0000

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

diff --git a/graphics/sampleicc/Makefile b/graphics/sampleicc/Makefile
index 35ebf603e3c8..abf5fa155e40 100644
--- a/graphics/sampleicc/Makefile
+++ b/graphics/sampleicc/Makefile
@@ -16,10 +16,13 @@ LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
 LIB_DEPENDS=	libtiff.so:graphics/tiff
 
-GNU_CONFIGURE=	yes
 USES=	libtool pathfix
+USE_CXXSTD=	c++14
 USE_LDCONFIG=	yes
-INSTALL_TARGET=	install-strip
+
+GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-tifflib=${LOCALBASE}
 
+INSTALL_TARGET=	install-strip
+
 .include <bsd.port.mk>