git: 650deaf8ca0c - main - mail/isync: Remove Oracle Berkeley DB 5.3 support

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Mon, 20 May 2024 21:53:59 UTC
The branch main has been updated by diizzy:

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

commit 650deaf8ca0cb3acf4e66d5d60f151cac5bf676f
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-05-20 21:18:51 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-05-20 21:53:50 +0000

    mail/isync: Remove Oracle Berkeley DB 5.3 support
    
    Remove support in preparation for removal of databases/db5
    
    PR:             279146
    Reviewed by:    ehaupt (maintainer)
---
 mail/isync/Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/mail/isync/Makefile b/mail/isync/Makefile
index 95a9db252ac8..458f1df019b6 100644
--- a/mail/isync/Makefile
+++ b/mail/isync/Makefile
@@ -13,20 +13,18 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libsasl2.so:security/cyrus-sasl2
 
-USES=		alias bdb compiler:c11 cpe perl5 ssl
+USES=		alias compiler:c11 cpe perl5 ssl
 CPE_VENDOR=	isync_project
 USE_PERL5=	build
 
 GNU_CONFIGURE=	yes
 
+CONFIGURE_ENV+=	ac_cv_berkdb4=no
 CONFIGURE_ARGS=	--with-sasl=${LOCALBASE} \
 		--with-ssl=${OPENSSLLIB:H}
 
 MAKE_ARGS+=	SSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
 
-CPPFLAGS+=	-I${BDB_INCLUDE_DIR}
-LDFLAGS+=	-L${BDB_LIB_DIR}
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e 's|\$$(docdir)/examples|\$$(sysconfdir)|g' \