projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ac0203
)
dev-php/pecl-http: Fix EAPI6 build error when php7-0 is off
author
Brian Evans
<grknight@gentoo.org>
Tue, 23 Aug 2016 20:14:14 +0000
(16:14 -0400)
committer
Brian Evans
<grknight@gentoo.org>
Tue, 23 Aug 2016 20:57:51 +0000
(16:57 -0400)
Package-Manager: portage-2.3.0
dev-php/pecl-http/pecl-http-3.0.1.ebuild
patch
|
blob
|
history
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 309a14ee49fcf3d0c6036b77102b0b8bb7f1112e..1cb5bfc9fd0f951333a6653b5c605623c74e760a 100644
(file)
--- 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."