dev-php/pecl-mongodb: minor ebuild cleanup.
authorMichael Orlitzky <mjo@gentoo.org>
Fri, 6 Jan 2017 05:00:02 +0000 (00:00 -0500)
committerMichael Orlitzky <mjo@gentoo.org>
Fri, 6 Jan 2017 05:00:02 +0000 (00:00 -0500)
Package-Manager: portage-2.3.0

dev-php/pecl-mongodb/pecl-mongodb-1.1.8.ebuild

index 9c0db98eca5bc698a4c9424dba436883dd346dda..37965d8c743171f5ce827c94cd32609c703a022c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -31,7 +31,12 @@ RDEPEND="
 DEPEND="${RDEPEND} virtual/pkgconfig"
 
 src_configure() {
-       local PHP_EXT_ECONF_ARGS=( --enable-mongodb --with-libbson --with-libmongoc )
-       PHP_EXT_ECONF_ARGS+=( --with-pcre-dir=$(usex pcre yes no) --with-mongodb-sasl=$(usex sasl yes no) )
+       local PHP_EXT_ECONF_ARGS=(
+               --enable-mongodb
+               --with-libbson
+               --with-libmongoc
+               --with-pcre-dir=$(usex pcre)
+               --with-mongodb-sasl=$(usex sasl)
+       )
        php-ext-source-r3_src_configure
 }