git: 8ef32525a621 - main - net-p2p/jigdo: Remove support for deprecated Berkeley DB 5.3

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 19 May 2024 07:56:23 UTC
The branch main has been updated by diizzy:

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

commit 8ef32525a62113d8e435e73d3f9b821a884e5a5a
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-05-19 07:35:49 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-05-19 07:36:15 +0000

    net-p2p/jigdo: Remove support for deprecated Berkeley DB 5.3
    
    Prepare port for removal of databases/db5
---
 net-p2p/jigdo/Makefile | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/net-p2p/jigdo/Makefile b/net-p2p/jigdo/Makefile
index 735c61ea12eb..96df2ea90a15 100644
--- a/net-p2p/jigdo/Makefile
+++ b/net-p2p/jigdo/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	jigdo
 PORTVERSION=	0.8.2
+PORTREVISION=	1
 CATEGORIES=	net-p2p
 MASTER_SITES=	https://www.einval.com/~steve/software/jigdo/download/
 DISTNAME=	jigdo-0.8.2
@@ -20,20 +21,13 @@ USES=		gmake tar:xz localbase
 USE_CXXSTD=	c++98
 USE_SUBMAKE=	yes
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-MAKE_JOBS_UNSAFE=yes
 
-OPTIONS_DEFINE=		BDB NLS
-OPTIONS_DEFAULT=	BDB
-OPTIONS_SUB=		yes
+MAKE_JOBS_UNSAFE=yes
 
-BDB_DESC=		Berkeley DB support (for jigdo-file cache)
+CONFIGURE_ARGS=	--without-libdb
 
-BDB_USES=		bdb
-BDB_CONFIGURE_ON=	--with-libdb=-l${BDB_LIB_CXX_NAME}
-BDB_CONFIGURE_OFF=	--without-libdb
-BDB_CPPFLAGS=		-I${BDB_INCLUDE_DIR}
-BDB_LIBS=		-L${BDB_LIB_DIR}
+OPTIONS_DEFINE=		NLS
+OPTIONS_SUB=		yes
 
 NLS_USES=		gettext
 NLS_CONFIGURE_ENABLE=	nls