From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C6D53138330 for ; Tue, 23 Aug 2016 20:58:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF41121C0B0; Tue, 23 Aug 2016 20:58:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2F09B21C0B0 for ; Tue, 23 Aug 2016 20:58:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 05B5E340901 for ; Tue, 23 Aug 2016 20:58:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD564246B for ; Tue, 23 Aug 2016 20:58:29 +0000 (UTC) From: "Brian Evans" 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" Message-ID: <1471985901.50b835c037e4fc54e77e67bd51266af33b19e0b8.grknight@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-raphf/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/pecl-raphf/pecl-raphf-2.0.0.ebuild X-VCS-Directories: dev-php/pecl-raphf/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 50b835c037e4fc54e77e67bd51266af33b19e0b8 X-VCS-Branch: master Date: Tue, 23 Aug 2016 20:58:29 +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: f635b2d2-c884-46ed-b9cb-a547e635ab98 X-Archives-Hash: f0198cc09bba08370b39acda026f4939 commit: 50b835c037e4fc54e77e67bd51266af33b19e0b8 Author: Brian Evans gentoo org> AuthorDate: Tue Aug 23 20:57:05 2016 +0000 Commit: Brian Evans gentoo org> CommitDate: Tue Aug 23 20:58:21 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50b835c0 dev-php/pecl-raphf: Fix EAPI6 build error when php7-0 is off Package-Manager: portage-2.3.0 dev-php/pecl-raphf/pecl-raphf-2.0.0.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev-php/pecl-raphf/pecl-raphf-2.0.0.ebuild b/dev-php/pecl-raphf/pecl-raphf-2.0.0.ebuild index ac02038..0789ef1 100644 --- a/dev-php/pecl-raphf/pecl-raphf-2.0.0.ebuild +++ b/dev-php/pecl-raphf/pecl-raphf-2.0.0.ebuild @@ -23,3 +23,11 @@ SLOT="7" IUSE="" RDEPEND="php_targets_php5-6? ( ${CATEGORY}/${PN}:0[php_targets_php5-6] )" + +src_prepare() { + if use php_targets_php7-0 ; then + php-ext-source-r3_src_prepare + else + default_src_prepare + fi +}