git: 82ee657f8414 - main - sysutils/ua: Fix build with llvm16

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

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

commit 82ee657f8414b211b53e753f24eef382efe9206f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-20 15:27:14 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-20 17:42:37 +0000

    sysutils/ua: Fix build with llvm16
    
    - Pet portclippy
    
    Sponsored by:   The FreeBSD Foundation
---
 sysutils/ua/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sysutils/ua/Makefile b/sysutils/ua/Makefile
index 597cf54d6bfc..b935bb5d5560 100644
--- a/sysutils/ua/Makefile
+++ b/sysutils/ua/Makefile
@@ -8,14 +8,16 @@ WWW=		https://github.com/euedge/ua/wiki
 
 LICENSE=	MPL11
 
+USES=		autoreconf ssl
+USE_CXXSTD=	c++14
 USE_GITHUB=	yes
 GH_ACCOUNT=	euedge
 GH_TAGNAME=	7a35148
 
-USES=		autoreconf ssl
 GNU_CONFIGURE=	yes
-LDFLAGS+=	-L${OPENSSLLIB}
+
 CFLAGS+=	-I${OPENSSLINC}
+LDFLAGS+=	-L${OPENSSLLIB}
 
 PLIST_FILES=	bin/kua bin/ua \
 		man/man1/kua.1.gz man/man1/ua.1.gz