summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php/pecl-mailparse')
-rw-r--r--dev-php/pecl-mailparse/pecl-mailparse-3.0.1-r1.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-php/pecl-mailparse/pecl-mailparse-3.0.1-r1.ebuild b/dev-php/pecl-mailparse/pecl-mailparse-3.0.1-r1.ebuild
index 53d2680e301a..31be7b13a5f8 100644
--- a/dev-php/pecl-mailparse/pecl-mailparse-3.0.1-r1.ebuild
+++ b/dev-php/pecl-mailparse/pecl-mailparse-3.0.1-r1.ebuild
@@ -34,3 +34,11 @@ unset target phpslot
DEPEND="${PHPUSEDEPEND}
dev-util/re2c"
RDEPEND="${PHPUSEDEPEND} php_targets_php5-6? ( dev-php/pecl-mailparse: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
+}