git: effa1f7e7755 - main - databases/libodbc++: Fix build with llvm16

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

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

commit effa1f7e77552e7c0ab3a489bb5c5fa30440df8e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-02 21:15:11 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-02 21:18:14 +0000

    databases/libodbc++: Fix build with llvm16
    
    - Pet portclippy
    
    Sponsored by:   The FreeBSD Foundation
---
 databases/libodbc++/Makefile | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/databases/libodbc++/Makefile b/databases/libodbc++/Makefile
index e74872fe2a11..f677de7d67cd 100644
--- a/databases/libodbc++/Makefile
+++ b/databases/libodbc++/Makefile
@@ -10,23 +10,25 @@ WWW=		http://orcane.net/freeodbc++/
 
 LICENSE=	GPLv2
 
-OPTIONS_DEFINE=	DOXYGEN DOCS
-
-DOXYGEN_IMPLIES=	DOCS
-DOXYGEN_BUILD_DEPENDS=	doxygen:devel/doxygen
+LIB_DEPENDS=	libodbc.so:databases/unixODBC
 
 USES=		gmake libtool ncurses pathfix pkgconfig readline tar:bzip2
+USE_CXXSTD=	c++14
 USE_LDCONFIG=	yes
+
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-isqlxx
-INSTALL_TARGET=	install-strip
+CONFIGURE_ARGS=	--with-isqlxx --with-odbc=${LOCALBASE}
 
-LIB_DEPENDS=	libodbc.so:databases/unixODBC
-CONFIGURE_ARGS+=	--with-odbc=${LOCALBASE}
+INSTALL_TARGET=	install-strip
 
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
 PORTDOCS=	progref
 
+OPTIONS_DEFINE=	DOXYGEN DOCS
+
+DOXYGEN_IMPLIES=	DOCS
+DOXYGEN_BUILD_DEPENDS=	doxygen:devel/doxygen
+
 post-extract:
 	${RM} ${WRKSRC}/doc/progref/progref-stamp