diff --git a/srcpkgs/mongodb/template b/srcpkgs/mongodb/template index c8319c6e2ef..fc1d29e9349 100644 --- a/srcpkgs/mongodb/template +++ b/srcpkgs/mongodb/template @@ -1,7 +1,7 @@ # Template file for 'mongodb' pkgname=mongodb version=3.2.6 -revision=2 +revision=3 wrksrc="mongodb-src-r${version}" hostmakedepends="scons" makedepends="boost-devel pcre-devel snappy-devel libressl-devel libpcap-devel @@ -37,8 +37,10 @@ do_configure() { esac } do_build() { + # Choose storage engine case "$XBPS_TARGET_MACHINE" in x86_64*|aarch64*) _scons_args="--wiredtiger=on --use-system-wiredtiger";; + i686*|arm*) _scons_args="--wiredtiger=off --mmapv1=on";; *) _scons_args="--wiredtiger=off";; esac scons core tools ${makejobs} \