git: a2e05f4c19ce - main - net/ulxmlrpcpp: Fix build with llvm16

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

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

commit a2e05f4c19ce0571d1203401bfa45c21d066cce3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-23 16:48:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-23 16:48:17 +0000

    net/ulxmlrpcpp: Fix build with llvm16
    
    - Utilize USES=localbase
    - Pet portclippy
    
    Sponsored by:   The FreeBSD Foundation
---
 net/ulxmlrpcpp/Makefile | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/net/ulxmlrpcpp/Makefile b/net/ulxmlrpcpp/Makefile
index dde24df9a0b7..d4a11f048efe 100644
--- a/net/ulxmlrpcpp/Makefile
+++ b/net/ulxmlrpcpp/Makefile
@@ -11,16 +11,17 @@ WWW=		http://ulxmlrpcpp.sourceforge.net/
 
 LIB_DEPENDS=	libexpat.so:textproc/expat2
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+USES=		compiler:c++11-lang iconv libtool localbase:ldflags \
+		pathfix ssl tar:bzip2
+USE_CXXSTD=	c++14
+USE_LDCONFIG=	yes
 
-USES=		compiler:c++11-lang tar:bzip2 pathfix iconv libtool ssl
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	PTHREAD_LIBS="-lpthread"
+
 INSTALL_TARGET=	install-strip
-USE_LDCONFIG=	yes
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 post-patch:
 	@${REINPLACE_CMD} -e \