git: bf5b04cd8143 - main - security/aide: Fix build

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Sat, 11 Nov 2023 14:34:16 UTC
The branch main has been updated by cy:

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

commit bf5b04cd814333671f8848df34efa3c5dc06dd75
Author:     Trond Endrestol <Trond.Endrestol@ximalas.info>
AuthorDate: 2023-11-11 14:29:24 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2023-11-11 14:34:02 +0000

    security/aide: Fix build
    
    Fix:
            configure: error: libpcre2-8 not found by pkg-config - Try to add directory containing libpcre2-8.pc to PKG_CONFIG_PATH environment variable
    
    PR:     275027
    Fixes:  1b319a6f2949
---
 security/aide/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/security/aide/Makefile b/security/aide/Makefile
index 4dc134f60213..6150d7356a7f 100644
--- a/security/aide/Makefile
+++ b/security/aide/Makefile
@@ -8,10 +8,10 @@ COMMENT=	File and directory integrity checker
 WWW=		https://aide.github.io/
 
 LIB_DEPENDS=	libmhash.so:security/mhash \
-		libpcre.so:devel/pcre \
+		libpcre2-8.so:devel/pcre2 \
 		libe2p.so:sysutils/e2fsprogs-core
 
-USES=		bison gmake localbase
+USES=		bison gmake localbase pkgconfig:build
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=--with-mhash \