diff --git a/dev-db/mongodb/mongodb-4.4.24.ebuild b/dev-db/mongodb/mongodb-4.4.24.ebuild index 94afac5..0124614 100644 --- a/dev-db/mongodb/mongodb-4.4.24.ebuild +++ b/dev-db/mongodb/mongodb-4.4.24.ebuild @@ -130,6 +130,9 @@ src_configure() { # Gentoo's toolchain applies these anyway scons_opts+=( --runtime-hardening=off ) + # refers to a non-functional feature as of Aug 2023, removed with 4.4.25 + scons_opts+=( --enable-free-mon=off ) + # respect mongoDB upstream's basic recommendations # see bug #536688 and #526114 if ! use debug; then diff --git a/dev-db/mongodb/mongodb-5.0.20.ebuild b/dev-db/mongodb/mongodb-5.0.20.ebuild index 6ebf3b6..3480dbc 100644 --- a/dev-db/mongodb/mongodb-5.0.20.ebuild +++ b/dev-db/mongodb/mongodb-5.0.20.ebuild @@ -151,6 +151,9 @@ src_configure() { scons_opts+=( --linker=bfd ) fi + # refers to a non-functional feature as of Aug 2023, removed with 5.0.21 + scons_opts+=( --enable-free-mon=off ) + # respect mongoDB upstream's basic recommendations # see bug #536688 and #526114 if ! use debug; then