summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php/pecl-ps/pecl-ps-1.4.0.ebuild')
-rw-r--r--dev-php/pecl-ps/pecl-ps-1.4.0.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-php/pecl-ps/pecl-ps-1.4.0.ebuild b/dev-php/pecl-ps/pecl-ps-1.4.0.ebuild
index 94123bb65a3..053a317af66 100644
--- a/dev-php/pecl-ps/pecl-ps-1.4.0.ebuild
+++ b/dev-php/pecl-ps/pecl-ps-1.4.0.ebuild
@@ -25,3 +25,11 @@ IUSE="examples"
DEPEND="dev-libs/pslib"
RDEPEND="${DEPEND} php_targets_php5-6? ( dev-php/pecl-ps: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
+}