1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00

net-p2p/jigdo: Remove support for deprecated Berkeley DB 5.3

Prepare port for removal of databases/db5
This commit is contained in:
Daniel Engberg 2024-05-19 09:35:49 +02:00
parent b77a9cbfc1
commit 8ef32525a6

View File

@ -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,21 +21,14 @@ 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
CONFIGURE_ARGS= --without-libdb
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
BDB_DESC= Berkeley DB support (for jigdo-file cache)
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}
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls