git: 140b0020bc6c - main - net/Sockets: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 23 Jul 2023 16:51:02 UTC
The branch main has been updated by bofh:

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

commit 140b0020bc6c2976175a95b8d2c3291ebdb32f16
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-23 16:11:01 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-23 16:11:01 +0000

    net/Sockets: Fix build with llvm16
    
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 net/Sockets/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/net/Sockets/Makefile b/net/Sockets/Makefile
index 464b659d4a72..6799ae96bc3b 100644
--- a/net/Sockets/Makefile
+++ b/net/Sockets/Makefile
@@ -9,15 +9,17 @@ MAINTAINER=	ml@netfence.it
 COMMENT=	C++ wrapper for BSD-style sockets
 WWW=		http://www.alhem.net/Sockets/
 
-USES+=		gmake gnome ssl
+USES=		gmake gnome ssl
+USE_CXXSTD=	c++14
 USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
-CFLAGS+=	-I${OPENSSLINC}
-LDFLAGS+=	-L${OPENSSLLIB}
 
 ALL_TARGET=	all shared
 INSTALL_TARGET=	install_shared
 
+CFLAGS+=	-I${OPENSSLINC}
+LDFLAGS+=	-L${OPENSSLLIB}
+
 post-patch:
 # PREFIX safeness
 	@${CP} ${PATCHDIR}/Makefile.Defines.freebsd ${WRKSRC}