projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5bee9f
)
dev-php/pecl-ssh2: Fix EAPI6 build error when php7-0 is off
author
Brian Evans
<grknight@gentoo.org>
Tue, 23 Aug 2016 20:48:13 +0000
(16:48 -0400)
committer
Brian Evans
<grknight@gentoo.org>
Tue, 23 Aug 2016 20:58:11 +0000
(16:58 -0400)
Package-Manager: portage-2.3.0
dev-php/pecl-ssh2/pecl-ssh2-1.0.ebuild
patch
|
blob
|
history
diff --git
a/dev-php/pecl-ssh2/pecl-ssh2-1.0.ebuild
b/dev-php/pecl-ssh2/pecl-ssh2-1.0.ebuild
index cbf9cea8ad3ee8fcc30b0af846acc809ee626af4..b03c64c81be0398d7a28933a72ac645bc773abc2 100644
(file)
--- a/
dev-php/pecl-ssh2/pecl-ssh2-1.0.ebuild
+++ b/
dev-php/pecl-ssh2/pecl-ssh2-1.0.ebuild
@@
-22,3
+22,11
@@
KEYWORDS="~amd64 ~x86"
DEPEND=">=net-libs/libssh2-1.2"
RDEPEND="${DEPEND} php_targets_php5-6? ( dev-php/pecl-ssh2:0[php_targets_php5-6] )"
PHP_EXT_ECONF_ARGS=""
+
+src_prepare() {
+ if use php_targets_php7-0 ; then
+ php-ext-source-r3_src_prepare
+ else
+ default_src_prepare
+ fi
+}