From 5e27fc01b0a9107d2242c70f79f9bd75a5e42c28 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 8 Jul 2013 01:44:08 -0700 Subject: Mon Jul 8 01:44:07 PDT 2013 --- community/mongodb/PKGBUILD | 46 ++++++++++++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 18 deletions(-) (limited to 'community/mongodb') diff --git a/community/mongodb/PKGBUILD b/community/mongodb/PKGBUILD index 85e53fafc..b98d832d8 100644 --- a/community/mongodb/PKGBUILD +++ b/community/mongodb/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 92438 2013-06-05 11:16:09Z fyan $ +# $Id: PKGBUILD 93615 2013-07-07 11:23:57Z fyan $ # Maintainer: Felix Yan # Contributor: Sven-Hendrik Haase # Contributor: Thomas Dziedzic < gostrc at gmail > @@ -6,21 +6,20 @@ # Contributor: Alec Thomas pkgname=mongodb -pkgver=2.4.4 +pkgver=2.4.5 pkgrel=1 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') -makedepends=('scons' 'boost' 'libpcap') +depends=('boost-libs' 'pcre' 'snappy' 'openssl' 'gperftools') # 'v8') doesn't work +makedepends=('scons' 'boost' 'readline' 'ncurses' 'libpcap') # 'cyrus-sasl') doesn't work checkdepends=('python2-pymongo') 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.conf' 'mongodb.service' 'SConscript.client.patch' - 'removeWerror.patch') + 'mongodb.conf' 'mongodb.service' 'removeWerror.patch') build() { # fucking mongo aint no fun to package @@ -28,13 +27,18 @@ build() { cd mongodb-src-r${pkgver} - # fix https://jira.mongodb.org/browse/SERVER-5575 - patch -Np1 -i ${srcdir}/SConscript.client.patch - # failed to build with -Werror since 2.4.0 patch -Np1 -i "$srcdir/removeWerror.patch" - scons all --use-system-boost # --sharedclient currently fails + scons all \ + --use-system-boost \ + --use-system-pcre \ + --use-system-snappy \ + --use-system-tcmalloc \ + --ssl \ + --sharedclient + # --use-sasl-client doesn't work + # --use-system-v8 doesn't work } <