projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6ab42f
)
dev-php/pecl-raphf: Fix EAPI6 build error when php7-0 is off
author
Brian Evans
<grknight@gentoo.org>
Tue, 23 Aug 2016 20:57:05 +0000
(16:57 -0400)
committer
Brian Evans
<grknight@gentoo.org>
Tue, 23 Aug 2016 20:58:21 +0000
(16:58 -0400)
Package-Manager: portage-2.3.0
dev-php/pecl-raphf/pecl-raphf-2.0.0.ebuild
patch
|
blob
|
history
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 ac020389586984f5b1b1139a24d4705f82db8881..0789ef16460a59d2a5163b8ff101a7efec3d4ccf 100644
(file)
--- 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
+}