From 3c374fa0a65ccfd5788b8af9b474e59b04f56e81 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Fri, 4 Mar 2016 16:14:52 +0700 Subject: system/mongodb: Fix build in x86. Signed-off-by: Willy Sudiarto Raharjo --- system/mongodb/mongodb.SlackBuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'system/mongodb') 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} -- cgit v1.2.3