summaryrefslogtreecommitdiff
path: root/system/mongodb/mongodb.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/mongodb/mongodb.SlackBuild')
-rw-r--r--system/mongodb/mongodb.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/system/mongodb/mongodb.SlackBuild b/system/mongodb/mongodb.SlackBuild
index 0069e07acc..d9c824da89 100644
--- a/system/mongodb/mongodb.SlackBuild
+++ b/system/mongodb/mongodb.SlackBuild
@@ -85,7 +85,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-scons --ssl --disable-warnings-as-errors --prefix=${PKG}/usr core install
+if [ "$ARCH" = "x86_64" ]; then
+ scons --ssl --disable-warnings-as-errors --prefix=${PKG}/usr core install
+else
+ scons --ssl --disable-warnings-as-errors --prefix=${PKG}/usr core --wiredtiger=off install
+fi
mkdir -p ${PKG}/usr/doc/${PRGNAM}-${VERSION}
cp distsrc/* ${PKG}/usr/doc/${PRGNAM}-${VERSION}