summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php/pecl-mongodb')
-rw-r--r--dev-php/pecl-mongodb/pecl-mongodb-1.1.8.ebuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/dev-php/pecl-mongodb/pecl-mongodb-1.1.8.ebuild b/dev-php/pecl-mongodb/pecl-mongodb-1.1.8.ebuild
index 9c0db98eca5b..37965d8c7431 100644
--- a/dev-php/pecl-mongodb/pecl-mongodb-1.1.8.ebuild
+++ b/dev-php/pecl-mongodb/pecl-mongodb-1.1.8.ebuild
@@ -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
}