mongodb: switch to libressl; restrict to x86 for now.
This commit is contained in:
parent
9275fa17ee
commit
a82d74901d
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'mongodb'
|
# Template file for 'mongodb'
|
||||||
pkgname=mongodb
|
pkgname=mongodb
|
||||||
version=2.6.3
|
version=2.6.3
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="scons"
|
hostmakedepends="scons"
|
||||||
makedepends="boost-devel pcre-devel snappy-devel openssl-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"
|
||||||
systemd_services="mongodb.service on"
|
systemd_services="mongodb.service on"
|
||||||
system_accounts="mongodb"
|
system_accounts="mongodb"
|
||||||
|
@ -26,8 +26,9 @@ _scons_args=" --use-system-boost \
|
||||||
--ssl \
|
--ssl \
|
||||||
--sharedclient \
|
--sharedclient \
|
||||||
--disable-warnings-as-errors"
|
--disable-warnings-as-errors"
|
||||||
disable_parallel_build=yes
|
|
||||||
|
|
||||||
|
# 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"
|
||||||
|
@ -45,7 +46,7 @@ do_build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
scons install ${makejobs} \
|
scons install \
|
||||||
--cc=$CC \
|
--cc=$CC \
|
||||||
--cxx=$CXX \
|
--cxx=$CXX \
|
||||||
--ld=$CXX \
|
--ld=$CXX \
|
||||||
|
|
Loading…
Reference in New Issue