summaryrefslogtreecommitdiff
path: root/community/mongodb/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mongodb/PKGBUILD')
-rw-r--r--community/mongodb/PKGBUILD16
1 files changed, 12 insertions, 4 deletions
diff --git a/community/mongodb/PKGBUILD b/community/mongodb/PKGBUILD
index d7b701df5..04fa547a9 100644
--- a/community/mongodb/PKGBUILD
+++ b/community/mongodb/PKGBUILD
@@ -4,28 +4,36 @@
pkgname=mongodb
pkgver=1.8.2
-pkgrel=4
+pkgrel=5
pkgdesc='A high-performance, open source, schema-free document-oriented database.'
arch=('i686' 'x86_64')
url='http://www.mongodb.org'
license=('AGPL3')
-depends=('boost-libs' 'spidermonkey' 'pcre')
+depends=('boost-libs' 'js' 'pcre')
makedepends=('scons' 'boost')
optdepends=('libpcap: needed for mongosniff')
backup=('etc/mongodb.conf')
install="mongodb.install"
source=("http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz"
'mongodb.rc'
- 'mongodb.conf')
+ 'mongodb.conf'
+ 'mongodb-1.8.0-spidermonkey-1.8.5-support.patch'
+ 'add-js185-support-to-SConstruct.diff')
md5sums=('951fb1a75d90fc822cf4528585a970cf'
'85eaa28e349fdc6250f883624e624cca'
- '4839fe1d638187ca3226e8267b947318')
+ '4839fe1d638187ca3226e8267b947318'
+ '2e6409732fba887c9cfe81257b5260ad'
+ 'ca7e62be31389d951bfd8848b1675c1b')
build() {
export SCONSFLAGS="$MAKEFLAGS"
cd mongodb-src-r${pkgver}
+ # js185 support https://jira.mongodb.org/browse/SERVER-2887
+ patch -Np1 -i ${srcdir}/mongodb-1.8.0-spidermonkey-1.8.5-support.patch
+ patch -Np0 -i ${srcdir}/add-js185-support-to-SConstruct.diff
+
scons \
all \
--full