From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5E6B31384B4 for ; Fri, 1 Jan 2016 09:38:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4927221C01F; Fri, 1 Jan 2016 09:37:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B766921C003 for ; Fri, 1 Jan 2016 09:37:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7816D3408EA for ; Fri, 1 Jan 2016 09:37:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 01D5774F for ; Fri, 1 Jan 2016 09:37:56 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1451641048.d8d31e5ad00737872046269b339e327bc715f318.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/mongodb/mongodb-3.2.0.ebuild X-VCS-Directories: dev-db/mongodb/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: d8d31e5ad00737872046269b339e327bc715f318 X-VCS-Branch: master Date: Fri, 1 Jan 2016 09:37:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a462b6f7-7148-4bbd-8c6f-488fc55ee833 X-Archives-Hash: c57d9341b4ee1f46592d291543d85229 commit: d8d31e5ad00737872046269b339e327bc715f318 Author: Michał Górny gentoo org> AuthorDate: Fri Jan 1 08:52:15 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jan 1 09:37:28 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8d31e5a dev-db/mongodb: Convert scons_opts into an array, to preserve whitespace dev-db/mongodb/mongodb-3.2.0.ebuild | 32 ++++++++++++++++++-------------- 1 file 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 c8836f7..a317780 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}"