aboutsummaryrefslogtreecommitdiff
path: root/system/mongodb
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-04 16:14:52 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-04 16:15:18 +0700
commit3c374fa0a65ccfd5788b8af9b474e59b04f56e81 (patch)
treea7331486afb843785b2279153bedb20ac984a263 /system/mongodb
parent71d76d6d7f8e8c591af9c31f7584e7d3caa6d512 (diff)
system/mongodb: Fix build in x86.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/mongodb')
-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 0069e07acc44f..d9c824da893fa 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}