git: 73c935b13e84 - main - databases/libhsclient: Fix build with llvm16

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=73c935b13e84821eb11bc8a3b6d8bf1847dd92c9

commit 73c935b13e84821eb11bc8a3b6d8bf1847dd92c9
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-23 16:40:21 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-23 16:40:21 +0000

    databases/libhsclient: Fix build with llvm16
    
    - Add LICENSE BSD3CLAUSE
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 databases/libhsclient/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/databases/libhsclient/Makefile b/databases/libhsclient/Makefile
index 08f294437009..4d23d5362fa2 100644
--- a/databases/libhsclient/Makefile
+++ b/databases/libhsclient/Makefile
@@ -9,10 +9,15 @@ MAINTAINER=	jnlin@freebsd.cs.nctu.edu.tw
 COMMENT=	Client Library of HandlerSocket Plugin
 WWW=		https://github.com/ahiguti/HandlerSocket-Plugin-for-MySQL
 
-WRKSRC=		${WRKDIR}/HandlerSocket-Plugin-for-MySQL
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		libtool
+USE_CXXSTD=	c++14
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-handlersocket-server=no
 
+WRKSRC=		${WRKDIR}/HandlerSocket-Plugin-for-MySQL
+
 .include <bsd.port.mk>