From effa1f7e77552e7c0ab3a489bb5c5fa30440df8e Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Wed, 2 Aug 2023 23:15:11 +0200 Subject: [PATCH] databases/libodbc++: Fix build with llvm16 - Pet portclippy Sponsored by: The FreeBSD Foundation --- databases/libodbc++/Makefile | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 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 +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 --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 -USES= gmake libtool ncurses pathfix pkgconfig readline tar:bzip2 -USE_LDCONFIG= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-isqlxx -INSTALL_TARGET= install-strip - -LIB_DEPENDS= libodbc.so:databases/unixODBC -CONFIGURE_ARGS+= --with-odbc=${LOCALBASE} - -DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} -PORTDOCS= progref - post-extract: ${RM} ${WRKSRC}/doc/progref/progref-stamp