diff options
author | Brian Evans <grknight@gentoo.org> | 2016-08-23 16:18:09 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2016-08-23 16:57:56 -0400 |
commit | a60f734c66687fe97bba2c7d063f706fd7af712c (patch) | |
tree | b9429f2b108e109fe9a4c122c0631560977a0934 /dev-php | |
parent | dev-php/pecl-http: Fix EAPI6 build error when php7-0 is off (diff) | |
download | gentoo-a60f734c66687fe97bba2c7d063f706fd7af712c.tar.gz gentoo-a60f734c66687fe97bba2c7d063f706fd7af712c.tar.bz2 gentoo-a60f734c66687fe97bba2c7d063f706fd7af712c.zip |
dev-php/pecl-yaml: 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-yaml/pecl-yaml-2.0.0_rc8.ebuild | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-php/pecl-yaml/pecl-yaml-2.0.0_rc8.ebuild b/dev-php/pecl-yaml/pecl-yaml-2.0.0_rc8.ebuild index 751adbe96d1b..4a345955288c 100644 --- a/dev-php/pecl-yaml/pecl-yaml-2.0.0_rc8.ebuild +++ b/dev-php/pecl-yaml/pecl-yaml-2.0.0_rc8.ebuild @@ -29,3 +29,12 @@ IUSE="" DEPEND=">=dev-libs/libyaml-0.1.0" RDEPEND="${DEPEND} php_targets_php5-6? ( dev-php/pecl-yaml: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 +} + |