Tried teating 80 but it's building with debug symbols (-g2) despite no
DEBUG_PACKAGES, so it doesn't fit in my 40GB pobj

On 2025/08/20 08:32, Rafael Sadowski wrote:
> Here is a first attempt to import mongodb 8.x, as 4.4.x does not
> build with libc++ and the bundled fmt and seems too complicated to
> update in my opinion.
> 
> Keep in mind that I need scons-4.9.1 (see ports@).
> 
> It builds fine, but I can't start it at runtime because I get a
> fork error, but I also get this error with 4.4 so I think the
> problem is due to  my usage/configuration.
> 
> I haven't made any changes to the PLIST yet, as there are
> certainly still some tags/conflicts that need to be set.
> 
> Feedback welcome,
> 
> Rafael
> 
> diff --git a/databases/mongodb/44/Makefile b/databases/mongodb/44/Makefile
> index b513460d55a..8be1cf6c9af 100644
> --- a/databases/mongodb/44/Makefile
> +++ b/databases/mongodb/44/Makefile
> @@ -1,7 +1,7 @@
>  PORTROACH =  limitw:1,even
>  
>  V =          4.4.29
> -REVISION =   5
> +REVISION =   6
>  
>  WANTLIB += ${COMPILER_LIBCXX}
>  WANTLIB += boost_filesystem-mt boost_iostreams-mt boost_log-mt
> @@ -15,6 +15,7 @@ MODSCONS_FLAGS += --use-system-zstd
>  
>  ALL_TARGET = install-core
>  LIB_DEPENDS =        archivers/zstd \
> +             devel/pcre \
>               net/curl
>  
>  post-extract:
> diff --git a/databases/mongodb/Makefile.inc b/databases/mongodb/Makefile.inc
> index 5ee2d3ed24b..3cb04625925 100644
> --- a/databases/mongodb/Makefile.inc
> +++ b/databases/mongodb/Makefile.inc
> @@ -51,7 +51,6 @@ MODSCONS_FLAGS += --opt=on \
>                 --allocator=system \
>                 --use-system-boost \
>                 --use-system-icu \
> -               --use-system-pcre \
>                 --use-system-snappy \
>                 --use-system-stemmer \
>                 --use-system-yaml \
> @@ -61,9 +60,7 @@ MODSCONS_FLAGS += --opt=on \
>  
>  LIB_DEPENDS +=       archivers/snappy \
>               devel/boost \
> -             devel/pcre \
>               devel/yaml-cpp \
> -             sysutils/py-psutil \
>               textproc/libstemmer \
>               textproc/icu4c
>  TEST_DEPENDS +=      databases/py-mongo


Reply via email to