summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-11-10 13:06:39 -0800
committerZac Medico <zmedico@gentoo.org>2017-11-10 13:07:23 -0800
commit2b717549e4f92cd162e8a1a3cc792256d5e64f46 (patch)
treed503efbac7dbb295e63eb890b10249f2de63bfe4 /eclass
parentdev-db/firebird: Fix building with GCC-6 (diff)
downloadgentoo-2b717549e4f92cd162e8a1a3cc792256d5e64f46.tar.gz
gentoo-2b717549e4f92cd162e8a1a3cc792256d5e64f46.tar.bz2
gentoo-2b717549e4f92cd162e8a1a3cc792256d5e64f46.zip
php-ext-pecl-r2.eclass: die earlier, and link to migration guide
Diffstat (limited to 'eclass')
-rw-r--r--eclass/php-ext-pecl-r2.eclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/eclass/php-ext-pecl-r2.eclass b/eclass/php-ext-pecl-r2.eclass
index 84627b06f9db..5fd3658e0f63 100644
--- a/eclass/php-ext-pecl-r2.eclass
+++ b/eclass/php-ext-pecl-r2.eclass
@@ -34,6 +34,7 @@
# Unlike PHP_EXT_PECL_PKG, setting this variable does not affect
# HOMEPAGE, PHP_EXT_NAME or ${S}.
+die "Please upgrade to php-ext-pecl-r3 (see https://wiki.gentoo.org/wiki/Project:PHP/Php-ext-source-r3_migration_guide). This eclass is due to be removed."
[[ -z "${PHP_EXT_PECL_PKG}" ]] && PHP_EXT_PECL_PKG="${PN/pecl-/}"
@@ -61,8 +62,6 @@ fi
SRC_URI="http://pecl.php.net/get/${FILENAME}"
HOMEPAGE="http://pecl.php.net/${PECL_PKG}"
-die "Please upgrade to php-ext-pecl-r3. This eclass is due to be removed."
-
# @FUNCTION: php-ext-pecl-r2_src_compile
# @DESCRIPTION:
# Takes care of standard compile for PECL packages.