diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-03-04 16:14:52 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-03-04 16:15:18 +0700 |
commit | 3c374fa0a65ccfd5788b8af9b474e59b04f56e81 (patch) | |
tree | a7331486afb843785b2279153bedb20ac984a263 /system | |
parent | 71d76d6d7f8e8c591af9c31f7584e7d3caa6d512 (diff) |
system/mongodb: Fix build in x86.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/mongodb/mongodb.SlackBuild | 6 |
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} |