diff options
author | Brian Evans <grknight@gentoo.org> | 2016-08-23 16:48:13 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2016-08-23 16:58:11 -0400 |
commit | a3cd1c2763c1afd4663043dd8f3d890bfce18ca6 (patch) | |
tree | fa0d7938c236efdf7276bc76ba8dcc0a9ba2eb8b /dev-php | |
parent | dev-php/pecl-ps: Fix EAPI6 build error when php7-0 is off (diff) | |
download | gentoo-a3cd1c2763c1afd4663043dd8f3d890bfce18ca6.tar.gz gentoo-a3cd1c2763c1afd4663043dd8f3d890bfce18ca6.tar.bz2 gentoo-a3cd1c2763c1afd4663043dd8f3d890bfce18ca6.zip |
dev-php/pecl-ssh2: Fix EAPI6 build error when php7-0 is off
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-php')
-rw-r--r-- | dev-php/pecl-ssh2/pecl-ssh2-1.0.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-php/pecl-ssh2/pecl-ssh2-1.0.ebuild b/dev-php/pecl-ssh2/pecl-ssh2-1.0.ebuild index cbf9cea8ad3e..b03c64c81be0 100644 --- 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 +} |