summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2015-05-04 18:59:30 +0000
committerBrian Evans <grknight@gentoo.org>2015-05-04 18:59:30 +0000
commit85cd3e965d8d71830f5df39e070cc7d2663a2b3a (patch)
tree448403d02512a364a59cc9470cd36bce18900f14 /eclass
parentVersion bump (diff)
downloadgentoo-2-85cd3e965d8d71830f5df39e070cc7d2663a2b3a.tar.gz
gentoo-2-85cd3e965d8d71830f5df39e070cc7d2663a2b3a.tar.bz2
gentoo-2-85cd3e965d8d71830f5df39e070cc7d2663a2b3a.zip
Make USE_PHP a REQUIRED variable for the php-ext-source-r2 eclass
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/php-ext-source-r2.eclass11
2 files changed, 12 insertions, 4 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 1d2da3e3ae6e..23be1832bc3b 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.1600 2015/05/02 20:23:56 chewi Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1601 2015/05/04 18:59:30 grknight Exp $
+
+ 04 May 2015; <grknight@gentoo.org> php-ext-source-r2.eclass:
+ Make USE_PHP a REQUIRED variable for the php-ext-source-r2 eclass
02 May 2015; James Le Cuirot <chewi@gentoo.org> java-utils-2.eclass:
Make java-pkg_doso always install with mode 0755, which is more like
diff --git a/eclass/php-ext-source-r2.eclass b/eclass/php-ext-source-r2.eclass
index 6d8445fd865f..0b7d61030b36 100644
--- a/eclass/php-ext-source-r2.eclass
+++ b/eclass/php-ext-source-r2.eclass
@@ -1,6 +1,6 @@
# 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.34 2015/03/26 16:15:33 grknight Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.35 2015/05/04 18:59:30 grknight Exp $
# @ECLASS: php-ext-source-r2.eclass
# @MAINTAINER:
@@ -32,6 +32,7 @@ case ${EAPI} in
esac
# @ECLASS-VARIABLE: PHP_EXT_NAME
+# @REQUIRED
# @DESCRIPTION:
# The extension name. This must be set, otherwise the eclass dies.
# Only automagically set by php-ext-pecl-r2.eclass, so unless your ebuild
@@ -51,10 +52,14 @@ esac
[[ -z "${PHP_EXT_ZENDEXT}" ]] && PHP_EXT_ZENDEXT="no"
# @ECLASS-VARIABLE: USE_PHP
+# @REQUIRED
# @DESCRIPTION:
# Lists the PHP slots compatibile the extension is compatibile with
-[[ -z "${USE_PHP}" ]] && USE_PHP="php5-3" \
- && eqawarn "An empty USE_PHP is deprecated and support will be removed on 2015-05-01"
+# Example:
+# @CODE
+# USE_PHP="php5-5 php5-6"
+# @CODE
+[[ -z "${USE_PHP}" ]] && die "USE_PHP is not set for the php-ext-source-r2 eclass"
# @ECLASS-VARIABLE: PHP_EXT_OPTIONAL_USE
# @DESCRIPTION: