diff options
Diffstat (limited to 'dev-php/pecl-yaml')
-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 +} + |