php-ext-pecl-r2.eclass: add die statement to prepare for removal
authorBrian Evans <grknight@gentoo.org>
Wed, 8 Nov 2017 18:48:48 +0000 (13:48 -0500)
committerBrian Evans <grknight@gentoo.org>
Wed, 8 Nov 2017 18:48:48 +0000 (13:48 -0500)
This will alert any 3rd-party repositories to update
before it really breaks.

Signed-off-by: Brian Evans <grknight@gentoo.org>
eclass/php-ext-pecl-r2.eclass

index ca712c800525df2679e5f5c9bdd8ef5cfa2db1f8..84627b06f9db5c3a88f1e9d733cc8e00e6b45bb5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 # @DEAD
@@ -61,6 +61,7 @@ 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: