system/mongodb: Fix build in x86.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-03-04 16:14:52 +07:00
parent 71d76d6d7f
commit 3c374fa0a6
1 changed files with 5 additions and 1 deletions

View File

@ -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}