grknight    15/03/26 16:15:33

  Modified:             ChangeLog php-ext-source-r2.eclass
  Log:
  Add deprecation warning when USE_PHP is empty

Revision  Changes    Path
1.1574               eclass/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1574&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1574&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1573&r2=1.1574

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1573
retrieving revision 1.1574
diff -u -r1.1573 -r1.1574
--- ChangeLog   23 Mar 2015 02:15:14 -0000      1.1573
+++ ChangeLog   26 Mar 2015 16:15:33 -0000      1.1574
@@ -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; <grkni...@gentoo.org> php-ext-source-r2.eclass:
+  Add deprecation warning when USE_PHP is empty
 
   23 Mar 2015; Davide Pesavento <p...@gentoo.org> qt4-build.eclass,
   qt4-build-multilib.eclass:



1.34                 eclass/php-ext-source-r2.eclass

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/php-ext-source-r2.eclass?rev=1.34&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/php-ext-source-r2.eclass?rev=1.34&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/php-ext-source-r2.eclass?r1=1.33&r2=1.34

Index: php-ext-source-r2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- php-ext-source-r2.eclass    1 Jun 2013 18:51:57 -0000       1.33
+++ php-ext-source-r2.eclass    26 Mar 2015 16:15:33 -0000      1.34
@@ -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 @@
 # @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:




Reply via email to