mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-php/pecl-mongodb: minor ebuild cleanup.
Package-Manager: portage-2.3.0
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user