summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2015-03-26 16:15:33 +0000
committerBrian Evans <grknight@gentoo.org>2015-03-26 16:15:33 +0000
commita71515138c0949506dcf991a4b54873d98bf4ab9 (patch)
tree5ade2fa5b77c00a22f22d5bec688f927408a0087 /eclass/php-ext-source-r2.eclass
parentLast rites for old NX packages, bug #537774 (diff)
downloadhistorical-a71515138c0949506dcf991a4b54873d98bf4ab9.tar.gz
historical-a71515138c0949506dcf991a4b54873d98bf4ab9.tar.bz2
historical-a71515138c0949506dcf991a4b54873d98bf4ab9.zip
Add deprecation warning when USE_PHP is empty
Diffstat (limited to 'eclass/php-ext-source-r2.eclass')
-rw-r--r--eclass/php-ext-source-r2.eclass9
1 files changed, 5 insertions, 4 deletions
diff --git a/eclass/php-ext-source-r2.eclass b/eclass/php-ext-source-r2.eclass
index 97b44ee3f674..6d8445fd865f 100644
--- a/eclass/php-ext-source-r2.eclass
+++ b/eclass/php-ext-source-r2.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.33 2013/06/01 18:51:57 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.34 2015/03/26 16:15:33 grknight Exp $
# @ECLASS: php-ext-source-r2.eclass
# @MAINTAINER:
@@ -16,7 +16,7 @@
# This eclass provides a unified interface for compiling and installing standalone
# PHP extensions (modules).
-inherit flag-o-matic autotools multilib
+inherit flag-o-matic autotools multilib eutils
EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install
@@ -53,7 +53,8 @@ esac
# @ECLASS-VARIABLE: USE_PHP
# @DESCRIPTION:
# Lists the PHP slots compatibile the extension is compatibile with
-[[ -z "${USE_PHP}" ]] && USE_PHP="php5-3"
+[[ -z "${USE_PHP}" ]] && USE_PHP="php5-3" \
+ && eqawarn "An empty USE_PHP is deprecated and support will be removed on 2015-05-01"
# @ECLASS-VARIABLE: PHP_EXT_OPTIONAL_USE
# @DESCRIPTION: