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 4BD40138330 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 17D9321C096; 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 4B10A21C087 for ; Tue, 23 Aug 2016 20:58:33 +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 74FCE340845 for ; Tue, 23 Aug 2016 20:58:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 51B337D8 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: <1471985871.083c9b7fefedfa14e1fbde7d13b8a79aea3516e9.grknight@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-http/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/pecl-http/pecl-http-3.0.1.ebuild X-VCS-Directories: dev-php/pecl-http/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 083c9b7fefedfa14e1fbde7d13b8a79aea3516e9 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: 09eedfcb-56e7-47dd-bf5f-cab0c4e81e76 X-Archives-Hash: de3e464fa426260039376104590b8479 commit: 083c9b7fefedfa14e1fbde7d13b8a79aea3516e9 Author: Brian Evans gentoo org> AuthorDate: Tue Aug 23 20:14:14 2016 +0000 Commit: Brian Evans gentoo org> CommitDate: Tue Aug 23 20:57:51 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=083c9b7f dev-php/pecl-http: Fix EAPI6 build error when php7-0 is off Package-Manager: portage-2.3.0 dev-php/pecl-http/pecl-http-3.0.1.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev-php/pecl-http/pecl-http-3.0.1.ebuild b/dev-php/pecl-http/pecl-http-3.0.1.ebuild index 309a14e..1cb5bfc 100644 --- a/dev-php/pecl-http/pecl-http-3.0.1.ebuild +++ b/dev-php/pecl-http/pecl-http-3.0.1.ebuild @@ -35,6 +35,14 @@ RDEPEND="${DEPEND} PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps ) +src_prepare() { + if use php_targets_php7-0 ; then + php-ext-source-r3_src_prepare + else + default_src_prepare + fi +} + pkg_postinst() { ewarn "This API has drastically changed and is not compatible with the 1.x syntax." ewarn "Please review the documentation and update your code."