git: 11254016eedc - main - security/steghide: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 02 Aug 2023 21:18:22 UTC
The branch main has been updated by bofh:

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

commit 11254016eedc9bcbe80e36f05137f1e6ea341fd1
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-02 18:57:03 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-02 21:18:13 +0000

    security/steghide: Fix build with llvm16
    
    - Pet portclippy
    Sponsored by:   The FreeBSD Foundation
---
 security/steghide/Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/security/steghide/Makefile b/security/steghide/Makefile
index afb3ea7d069d..73a318d0163f 100644
--- a/security/steghide/Makefile
+++ b/security/steghide/Makefile
@@ -16,12 +16,17 @@ LIB_DEPENDS=	libmcrypt.so:security/libmcrypt \
 
 USES=		compiler cpe gmake jpeg libtool:build localbase perl5
 CPE_VENDOR=	${PORTNAME}_project
+USE_CXXSTD=	c++14
+
 GNU_CONFIGURE=	yes
+
+MAKE_ARGS=	LIBTOOL="${LOCALBASE}/bin/libtool"
+
 CPPFLAGS+=	-fpermissive
-LIBS+=		-lmcrypt
 CXXFLAGS+=	${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
 CXXFLAGS_clang=	-Wno-static-float-init
-MAKE_ARGS=	LIBTOOL="${LOCALBASE}/bin/libtool"
+
+LIBS+=		-lmcrypt
 
 OPTIONS_DEFINE=	DOCS NLS
 OPTIONS_SUB=	yes