[dev-db/mongodb] add back dep on curl, use mongo-c-driver as bdep

This commit is contained in:
Robert Förster 2024-07-02 19:25:09 +02:00
parent eda630e4b2
commit fc8c98c39a
2 changed files with 9 additions and 2 deletions

View File

@ -33,11 +33,12 @@ RESTRICT="test"
RDEPEND="acct-group/mongodb
acct-user/mongodb
>=app-arch/snappy-1.1.7:=
app-arch/zstd:=
>=dev-cpp/yaml-cpp-0.6.2:=
dev-libs/boost:=[nls]
>=dev-libs/libpcre-8.42[cxx]
app-arch/zstd:=
dev-libs/snowball-stemmer:=
net-misc/curl
>=sys-libs/zlib-1.2.12:=
kerberos? ( dev-libs/cyrus-sasl[kerberos] )
ssl? (
@ -55,6 +56,7 @@ BDEPEND="
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
')
>=dev-libs/mongo-c-driver-1.13.0
"
PDEPEND="
mongosh? ( app-admin/mongosh-bin )
@ -125,6 +127,7 @@ src_configure() {
CC="$(tc-getCC)"
CXX="$(tc-getCXX)"
CCFLAGS="${CXXFLAGS}"
CPPPATH="${EPREFIX}/usr/include/libmongoc-1.0"
VERBOSE=1
VARIANT_DIR=gentoo
@ -135,6 +138,7 @@ src_configure() {
--force-jobs
--jobs="$(makeopts_jobs)"
--use-system-boost
--use-system-mongo-c
--use-system-pcre
--use-system-snappy
--use-system-stemmer

View File

@ -33,11 +33,12 @@ RESTRICT="test"
RDEPEND="acct-group/mongodb
acct-user/mongodb
>=app-arch/snappy-1.1.7:=
app-arch/zstd:=
>=dev-cpp/yaml-cpp-0.6.2:=
dev-libs/boost:=[nls]
>=dev-libs/libpcre-8.42[cxx]
app-arch/zstd:=
dev-libs/snowball-stemmer:=
net-misc/curl
>=sys-libs/zlib-1.2.12:=
kerberos? ( dev-libs/cyrus-sasl[kerberos] )
ssl? (
@ -58,6 +59,7 @@ BDEPEND="
dev-python/regex[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
')
>=dev-libs/mongo-c-driver-1.13.0
"
PDEPEND="
mongosh? ( app-admin/mongosh-bin )
@ -130,6 +132,7 @@ src_configure() {
CC="$(tc-getCC)"
CXX="$(tc-getCXX)"
CCFLAGS="${CXXFLAGS}"
CPPPATH="${EPREFIX}/usr/include/libmongoc-1.0"
VERBOSE=1
VARIANT_DIR=gentoo