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

View File

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