summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2016-08-23 16:52:55 -0400
committerBrian Evans <grknight@gentoo.org>2016-08-23 16:58:16 -0400
commita6ab42fa33d125608a7e70960b4e0855576ec8d2 (patch)
tree0f6c838d1050d35eae148949b4ba804c3a7c2fde /dev-php/pecl-propro
parentdev-php/pecl-ssh2: Fix EAPI6 build error when php7-0 is off (diff)
downloadgentoo-a6ab42fa33d125608a7e70960b4e0855576ec8d2.tar.gz
gentoo-a6ab42fa33d125608a7e70960b4e0855576ec8d2.tar.bz2
gentoo-a6ab42fa33d125608a7e70960b4e0855576ec8d2.zip
dev-php/pecl-propro: Fix EAPI6 build error when php7-0 is off
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-php/pecl-propro')
-rw-r--r--dev-php/pecl-propro/pecl-propro-2.0.1.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-php/pecl-propro/pecl-propro-2.0.1.ebuild b/dev-php/pecl-propro/pecl-propro-2.0.1.ebuild
index 47515e083545..e1e63f10779f 100644
--- a/dev-php/pecl-propro/pecl-propro-2.0.1.ebuild
+++ b/dev-php/pecl-propro/pecl-propro-2.0.1.ebuild
@@ -23,3 +23,11 @@ SLOT="7"
IUSE=""
RDEPEND="php_targets_php5-6? ( ${CATEGORY}/${PN}: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
+}