Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=456babe830716ffffe2ee8ba25435905c2321687

commit 456babe830716ffffe2ee8ba25435905c2321687
Author: crazy <[email protected]>
Date:   Sat Feb 25 14:07:55 2017 +0100

mongodb-3.4.2-1-x86_64
* Version bump

diff --git a/source/apps-extra/mongodb/FrugalBuild 
b/source/apps-extra/mongodb/FrugalBuild
index 7ff97ad..a967648 100644
--- a/source/apps-extra/mongodb/FrugalBuild
+++ b/source/apps-extra/mongodb/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: boobaa <[email protected]>

pkgname=mongodb
-pkgver=3.2.11
+pkgver=3.4.2
pkgrel=1
pkgdesc="A scalable, high-performance, open source NoSQL database"
url="http://www.mongodb.org";
@@ -11,12 +11,8 @@ groups=('apps-extra')
archs=('x86_64')
depends=('libstdc++>=6.2.1-8' 'openssl>=1.0.2-12' 'pcre' 'zlib' 'yaml-cpp' 
'snappy' 'libboost>=1.61.0-3' 'libpcap')
makedepends+=('scons' 'boost>=1.61.0-3')
-source=(http://downloads.mongodb.org/src/mongodb-src-r$pkgver.tar.gz \
-       boost.patch mongodb-3.2.4-boost-1.60.patch 
mongodb-3.2.0-fix-scons.patch)
-sha1sums=('aebc7af3179be13465221dac6d54ebda7a8d7722' \
-          '229f469533249e30e525482a17b69ed355bd2667' \
-          '49d64e83ede6c9d5765bfbc2ab172b8fe946480d' \
-          'e3d5011c899b1e37e15c09442cdd6ba8864b1cfd')
+source=(http://downloads.mongodb.org/src/mongodb-src-r$pkgver.tar.gz)
+sha1sums=('1e020ea885d80f1b7fb7b5c6c279e3e90c055dce')
options+=('static')

## TODO: - some default conf ?
@@ -28,24 +24,17 @@ build()
### F*** this scons
Fcd $pkgname-src-r$pkgver
Fpatchall
-               ## this is gnu++11 code while rest is c++11 .. ofc won't compile
-               sed -i 's|ASSERT_PARSES(double, "0xabcab.defdefP-10", 
0xabcab.defdefP-10);||' src/mongo/base/parse_number_test.cpp || Fdie
+               sed -i -e 's|ASSERT_PARSES(double, "0xabcab.defdefP-10", 
0xabcab.defdefP-10);||' src/mongo/base/parse_number_test.cpp || Fdie
export SCONSFLAGS="$MAKEFLAGS"
OPT="--disable-warnings-as-errors \
--ssl --use-system-zlib \
--use-system-pcre \
--use-system-yaml \
--use-system-snappy \
-                       --use-system-boost \
-                       --experimental-decimal-support=off"
+                       --use-system-boost"

-               #if [ "$CARCH" == "i686" ]; then
-               #       ## 32bit won't compile with this on
-               #       OPT+=" --wiredtiger=off"
-               #fi
-
-               scons all $OPT || Fdie
-               scons --prefix $Fdestdir/usr $OPT --nostrip install || Fdie
+               Fexec scons all $OPT || Fdie
+               Fexec scons --prefix $Fdestdir/usr $OPT --nostrip install || 
Fdie
}

# optimization OK
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to