aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Osorio <rodrigo@FreeBSD.org>2025-02-05 22:43:49 +0100
committerRodrigo Osorio <rodrigo@FreeBSD.org>2025-02-06 22:08:13 +0100
commitf5c61fff767afc192559f28ebf3718974d10a3a8 (patch)
treecfd84408a7e05824e2ac558fae41f2edad33ab6e
parent3f7707eabeeb878a4a31c2abebd1b07fece25c50 (diff)
archivers/rpm4: drop db5 dependency
Remove db5 dependency which is marked expired and is not actually used. rpm4 has its own bdb-ro engine, that doesn't require bdb. PR: 284002 Obtained from: Oleg Sidorkin <osidorkin@gmail.com>
-rw-r--r--archivers/rpm4/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/archivers/rpm4/Makefile b/archivers/rpm4/Makefile
index 51609a558588..7d74c973f0a0 100644
--- a/archivers/rpm4/Makefile
+++ b/archivers/rpm4/Makefile
@@ -14,8 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/lib/libelf.so:devel/elfutils \
gsed:textproc/gsed
-LIB_DEPENDS= libdb-5.3.so:databases/db5 \
- libelf.so:devel/elfutils \
+LIB_DEPENDS= libelf.so:devel/elfutils \
libgcrypt.so:security/libgcrypt \
libnss3.so:security/nss \
libpopt.so:devel/popt \
@@ -28,8 +27,8 @@ FLAVORS= default noopenmp
FLAVOR?= ${FLAVORS:[1]}
noopenmp_PKGNAMESUFFIX= 4-noopenmp
-USES= alias bdb cpe gmake iconv libarchive libtool lua pathfix \
- pkgconfig readline shebangfix sqlite tar:bzip2
+USES= alias cpe gmake iconv libarchive libtool lua pathfix pkgconfig \
+ readline shebangfix sqlite tar:bzip2
USE_LDCONFIG= yes
SHEBANG_FILES= scripts/brp-compress scripts/check-prereqs \
@@ -40,7 +39,8 @@ SHEBANG_FILES= scripts/brp-compress scripts/check-prereqs \
scripts/rpm_macros_provides.sh
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
-CONFIGURE_ARGS= --enable-sqlite=yes \
+CONFIGURE_ARGS= --enable-bdb-ro \
+ --enable-sqlite=yes \
--localstatedir=/var \
--sysconfdir=${PREFIX}/etc \
--with-popt-prefix="${LOCALBASE}" \
@@ -54,10 +54,8 @@ CONFIGURE_ENV= LUA_CFLAGS=-I${LUA_INCDIR} \
INSTALL_TARGET= install-strip
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/nspr \
- -I${LOCALBASE}/include/nss/nss -I${BDB_INCLUDE_DIR} \
- -I${LUA_INCDIR}
-LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib/nss -L${BDB_LIB_DIR} \
- -L${LUA_LIBDIR}
+ -I${LOCALBASE}/include/nss/nss -I${LUA_INCDIR}
+LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib/nss -L${LUA_LIBDIR}
CONFLICTS_INSTALL= rpm2cpio rpm4 rpm4-noopenmp