git: 3972be552723 - main - devel/libiqxmlrpc: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 20 Jul 2023 17:43:38 UTC
The branch main has been updated by bofh:

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

commit 3972be552723188588177ccaf957cc112ef59b78
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-20 17:40:20 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-20 17:42:39 +0000

    devel/libiqxmlrpc: Fix build with llvm16
    
    - Utilize USES=localbase
    - Pet portclippy
    
    Sponsored by:   The FreeBSD Foundation
---
 devel/libiqxmlrpc/Makefile | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/devel/libiqxmlrpc/Makefile b/devel/libiqxmlrpc/Makefile
index 1bf5c482fac0..1cc29ee6458f 100644
--- a/devel/libiqxmlrpc/Makefile
+++ b/devel/libiqxmlrpc/Makefile
@@ -12,19 +12,19 @@ LICENSE=	BSD2CLAUSE
 
 LIB_DEPENDS=	libboost_thread.so:devel/boost-libs
 
+USES=		cmake gnome localbase:ldflags ssl tar:bzip2
+USE_CXXSTD=	c++14
+USE_GNOME=	libxml2
+USE_LDCONFIG=	yes
+
+PORTDOCS=	*
+
 OPTIONS_DEFINE=	DOXYGEN DOCS
 
 DOXYGEN_IMPLIES=	DOCS
 DOXYGEN_BUILD_DEPENDS=	doxygen:devel/doxygen
 DOXYGEN_CMAKE_OFF=	-Dbuild_docs=off
 
-USE_GNOME=	libxml2
-USES=		cmake gnome ssl tar:bzip2
-LDFLAGS+=	-L${LOCALBASE}/lib
-USE_LDCONFIG=	yes
-
-PORTDOCS=	*
-
 post-patch:
 	${REINPLACE_CMD} -e 's,lib/pkgconfig,libdata/pkgconfig,' ${WRKSRC}/libiqxmlrpc/CMakeLists.txt
 	${REINPLACE_CMD} -e 's,share/doc/libiqxmlrpc-$${Libiqxmlrpc_VERSION},${DOCSDIR_REL},' ${WRKSRC}/doc/CMakeLists.txt