mongodb: fix cross compile.
This commit is contained in:
parent
3e56f98bcb
commit
b0106cb98e
|
@ -1,13 +1,13 @@
|
|||
# Template file for 'mongodb'
|
||||
pkgname=mongodb
|
||||
version=2.6.3
|
||||
revision=3
|
||||
revision=4
|
||||
hostmakedepends="scons"
|
||||
makedepends="boost-devel pcre-devel snappy-devel libressl-devel libpcap-devel gperftools-devel v8-3.16-devel"
|
||||
conf_files="/etc/mongodb/mongodb.conf"
|
||||
system_accounts="mongodb"
|
||||
mongodb_homedir="/var/lib/mongodb"
|
||||
short_desc="high-performance, schema-free document-oriented database"
|
||||
short_desc="High-performance, schema-free document-oriented database"
|
||||
maintainer="Enno Boland <eb@s01.de>"
|
||||
homepage="http://www.mongodb.org"
|
||||
license="AGPL-3"
|
||||
|
@ -24,15 +24,14 @@ _scons_args=" --use-system-boost \
|
|||
--use-system-v8 \
|
||||
--ssl \
|
||||
--sharedclient \
|
||||
--variant-dir=void \
|
||||
--nostrip \
|
||||
--disable-warnings-as-errors"
|
||||
build_options="systemd"
|
||||
if [ "$build_option_systemd" ]; then
|
||||
systemd_services="mongodb.service on"
|
||||
fi
|
||||
|
||||
# XXX
|
||||
only_for_archs="i686 x86_64"
|
||||
|
||||
do_configure() {
|
||||
find . -name SConstruct -print0 | xargs -0 sed -i "s/-Werror/-Wno-error/g"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue