mongodb: fix cross compile.

This commit is contained in:
Christian Neukirchen 2014-08-28 18:52:19 +02:00
parent 3e56f98bcb
commit b0106cb98e

View file

@ -1,13 +1,13 @@
# Template file for 'mongodb' # Template file for 'mongodb'
pkgname=mongodb pkgname=mongodb
version=2.6.3 version=2.6.3
revision=3 revision=4
hostmakedepends="scons" hostmakedepends="scons"
makedepends="boost-devel pcre-devel snappy-devel libressl-devel libpcap-devel gperftools-devel v8-3.16-devel" makedepends="boost-devel pcre-devel snappy-devel libressl-devel libpcap-devel gperftools-devel v8-3.16-devel"
conf_files="/etc/mongodb/mongodb.conf" conf_files="/etc/mongodb/mongodb.conf"
system_accounts="mongodb" system_accounts="mongodb"
mongodb_homedir="/var/lib/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>" maintainer="Enno Boland <eb@s01.de>"
homepage="http://www.mongodb.org" homepage="http://www.mongodb.org"
license="AGPL-3" license="AGPL-3"
@ -24,15 +24,14 @@ _scons_args=" --use-system-boost \
--use-system-v8 \ --use-system-v8 \
--ssl \ --ssl \
--sharedclient \ --sharedclient \
--variant-dir=void \
--nostrip \
--disable-warnings-as-errors" --disable-warnings-as-errors"
build_options="systemd" build_options="systemd"
if [ "$build_option_systemd" ]; then if [ "$build_option_systemd" ]; then
systemd_services="mongodb.service on" systemd_services="mongodb.service on"
fi fi
# XXX
only_for_archs="i686 x86_64"
do_configure() { do_configure() {
find . -name SConstruct -print0 | xargs -0 sed -i "s/-Werror/-Wno-error/g" find . -name SConstruct -print0 | xargs -0 sed -i "s/-Werror/-Wno-error/g"
} }