git: 3ae28b58c4de - main - devel/anjuta: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 21 Jul 2023 18:26:24 UTC
The branch main has been updated by bofh:

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

commit 3ae28b58c4de33234d8e52343e759caded82a5e2
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-21 17:57:27 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-21 18:26:13 +0000

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

diff --git a/devel/anjuta/Makefile b/devel/anjuta/Makefile
index c9509bd022b4..9179a0296bf1 100644
--- a/devel/anjuta/Makefile
+++ b/devel/anjuta/Makefile
@@ -30,8 +30,9 @@ RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:misc/gnome-icon-
 PORTSCOUT=	limitw:1,even
 
 USES=		bison compiler:c11 desktop-file-utils gettext gmake gnome \
-		libtool pathfix perl5 pkgconfig:both python shared-mime-info \
-		shebangfix tar:xz
+		libtool localbase:ldflags pathfix perl5 pkgconfig:both python \
+		shared-mime-info shebangfix tar:xz
+USE_CXXSTD=	c++14
 SHEBANG_FILES=	plugins/project-wizard/templates/js_minimal/src/main.js \
 		plugins/tools/scripts/find-fixmes.pl \
 		plugins/tools/scripts/translation-status.pl \
@@ -43,8 +44,6 @@ gjs_CMD=	${LOCALBASE}/bin/gjs
 USE_LDCONFIG=	yes
 USE_GNOME=	cairo gtksourceview3 intlhack libgda5 libwnck3
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ARGS=	--with-symbol-db-shm=/tmp \
 		--disable-packagekit \
 		--disable-neon \