From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-859663-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id D471F58973
	for <garchives@archives.gentoo.org>; Mon, 25 Jan 2016 15:07:18 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E2FBDE0897;
	Mon, 25 Jan 2016 15:07:13 +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 8AA37E0897
	for <gentoo-commits@lists.gentoo.org>; Mon, 25 Jan 2016 15:07:13 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 6CF60340836
	for <gentoo-commits@lists.gentoo.org>; Mon, 25 Jan 2016 15:07:12 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 821361018
	for <gentoo-commits@lists.gentoo.org>; Mon, 25 Jan 2016 15:07:07 +0000 (UTC)
From: "Brian Evans" <grknight@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" <grknight@gentoo.org>
Message-ID: <1453734410.e08d25d32ca35cf089b0e96723e9d19d7b2cc787.grknight@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-apcu_bc/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.1-r1.ebuild
X-VCS-Directories: dev-php/pecl-apcu_bc/
X-VCS-Committer: grknight
X-VCS-Committer-Name: Brian Evans
X-VCS-Revision: e08d25d32ca35cf089b0e96723e9d19d7b2cc787
X-VCS-Branch: master
Date: Mon, 25 Jan 2016 15:07:07 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 29becd15-1bd0-499d-a0e2-1cd575c3792c
X-Archives-Hash: 718b8f06f148b801b56b086a452fbac3

commit:     e08d25d32ca35cf089b0e96723e9d19d7b2cc787
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 25 15:06:50 2016 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Mon Jan 25 15:06:50 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e08d25d3

dev-php/pecl-apcu_bc: Fix bug 572864 by changing name of the ini file created

Package-Manager: portage-2.2.26

 dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.1-r1.ebuild | 46 +++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.1-r1.ebuild b/dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.1-r1.ebuild
new file mode 100644
index 0000000..a78ab92
--- /dev/null
+++ b/dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.1-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PHP_EXT_NAME="apc"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+DOCS="README.md"
+
+USE_PHP="php7-0"
+
+inherit php-ext-pecl-r2
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Provides APC backwards compatibility functions via APCu"
+LICENSE="PHP-3.01"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-php/pecl-apcu[php_targets_php7-0]"
+RDEPEND="${DEPEND}"
+
+src_install() {
+	# Refine function to rename the output ini file for this extension
+	# to load in the correct order. Bug 572864
+	php-ext-source-r2_buildinilist() {
+		# Work out the list of <ext>.ini files to edit/add to
+		if [[ -z "${PHPSAPILIST}" ]] ; then
+			PHPSAPILIST="apache2 cli cgi fpm embed phpdbg"
+		fi
+
+		PHPINIFILELIST=""
+		local x
+		for x in ${PHPSAPILIST} ; do
+			if [[ -f "${EPREFIX}/etc/php/${x}-${1}/php.ini" ]] ; then
+				PHPINIFILELIST="${PHPINIFILELIST} etc/php/${x}-${1}/ext/bc_apcu.ini"
+			fi
+		done
+		PHPFULLINIFILELIST="${PHPFULLINIFILELIST} ${PHPINIFILELIST}"
+	}
+
+	php-ext-pecl-r2_src_install
+}