git: c468513b79f4 - main - databases/cppdb: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 06 Aug 2023 12:30:44 UTC
The branch main has been updated by bofh:

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

commit c468513b79f4bee21bfdbf6eef12441c0e8bc7ee
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-06 11:46:14 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-06 12:30:35 +0000

    databases/cppdb: Fix build with llvm16
    
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 databases/cppdb/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/databases/cppdb/Makefile b/databases/cppdb/Makefile
index b7d273ead16e..f4cacbc35aa6 100644
--- a/databases/cppdb/Makefile
+++ b/databases/cppdb/Makefile
@@ -12,6 +12,10 @@ LICENSE=	BSL MIT
 LICENSE_COMB=	dual
 LICENSE_FILE=	${WRKSRC}/copyright.txt
 
+USES=		cmake tar:bzip2
+USE_CXXSTD=	c++14
+USE_LDCONFIG=	yes
+
 NO_OPTIONS_SORT=	yes
 OPTIONS_SINGLE=		SQLITE3 PGSQL MYSQL ODBC
 OPTIONS_SINGLE_MYSQL=	MYSQL_DISABLE MYSQL_INTERNAL MYSQL_MODULE
@@ -38,9 +42,6 @@ SQLITE3_DISABLE_DESC=	Disable SQLite 3 backend
 SQLITE3_INTERNAL_DESC=	Link SQLite 3 backend into CppDB
 SQLITE3_MODULE_DESC=	Build SQLite 3 backend as a CppDB module
 
-USE_LDCONFIG=	yes
-USES=		cmake tar:bzip2
-
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MMYSQL_DISABLE}