diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-01-01 09:52:15 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-01-01 10:37:28 +0100 |
commit | d8d31e5ad00737872046269b339e327bc715f318 (patch) | |
tree | e571d517c6a23d995b3a7cc25558b937757added /dev-db/mongodb | |
parent | www-servers/monkeyd: version bump to 1.6.7 (diff) | |
download | gentoo-d8d31e5ad00737872046269b339e327bc715f318.tar.gz gentoo-d8d31e5ad00737872046269b339e327bc715f318.tar.bz2 gentoo-d8d31e5ad00737872046269b339e327bc715f318.zip |
dev-db/mongodb: Convert scons_opts into an array, to preserve whitespace
Diffstat (limited to 'dev-db/mongodb')
-rw-r--r-- | dev-db/mongodb/mongodb-3.2.0.ebuild | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/dev-db/mongodb/mongodb-3.2.0.ebuild b/dev-db/mongodb/mongodb-3.2.0.ebuild index c8836f74039a..a3177805f709 100644 --- a/dev-db/mongodb/mongodb-3.2.0.ebuild +++ b/dev-db/mongodb/mongodb-3.2.0.ebuild @@ -64,29 +64,33 @@ pkg_setup() { # --use-system-tcmalloc is strongly NOT recommended: # https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/ - scons_opts+=" --disable-warnings-as-errors" - scons_opts+=" --use-system-boost" - scons_opts+=" --use-system-pcre" - scons_opts+=" --use-system-snappy" - scons_opts+=" --use-system-stemmer" - scons_opts+=" --use-system-yaml" - scons_opts+=" --use-system-zlib" + scons_opts=( + --disable-warnings-as-errors + --use-system-boost + --use-system-pcre + --use-system-snappy + --use-system-stemmer + --use-system-yaml + --use-system-zlib + ) if use debug; then - scons_opts+=" --dbg=on" + scons_opts+=( --dbg=on ) fi if use prefix; then - scons_opts+=" --cpppath=${EPREFIX}/usr/include" - scons_opts+=" --libpath=${EPREFIX}/usr/$(get_libdir)" + scons_opts+=( + --cpppath="${EPREFIX}/usr/include" + --libpath="${EPREFIX}/usr/$(get_libdir)" + ) fi if use kerberos; then - scons_opts+=" --use-sasl-client" + scons_opts+=( --use-sasl-client ) fi if use ssl; then - scons_opts+=" --ssl" + scons_opts+=( --ssl ) fi } @@ -101,11 +105,11 @@ src_compile() { filter-flags '-m*' filter-flags '-O?' fi - escons ${scons_opts} core tools + escons "${scons_opts[@]}" core tools } src_install() { - escons ${scons_opts} --nostrip install --prefix="${ED}"/usr + escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr for x in /var/{lib,log}/${PN}; do keepdir "${x}" |