summaryrefslogtreecommitdiff
path: root/eclass
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
commit715d95cab0b5a8e47f4f94970c744b213861b93c (patch)
treedba35efdfaf37beac82cccc8bc42a84ba61512c7 /eclass
parentLast rites for old NX packages, bug #537774 (diff)
downloadgentoo-2-715d95cab0b5a8e47f4f94970c744b213861b93c.tar.gz
gentoo-2-715d95cab0b5a8e47f4f94970c744b213861b93c.tar.bz2
gentoo-2-715d95cab0b5a8e47f4f94970c744b213861b93c.zip
Add deprecation warning when USE_PHP is empty
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/php-ext-source-r2.eclass9
2 files changed, 9 insertions, 5 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index c0eec7fcdc96..449627532d77 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1573 2015/03/23 02:15:14 pesa Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1574 2015/03/26 16:15:33 grknight Exp $
+
+ 26 Mar 2015; <grknight@gentoo.org> php-ext-source-r2.eclass:
+ Add deprecation warning when USE_PHP is empty
23 Mar 2015; Davide Pesavento <pesa@gentoo.org> qt4-build.eclass,
qt4-build-multilib.eclass:
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: