summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2015-05-04 20:02:26 +0000
committerBrian Evans <grknight@gentoo.org>2015-05-04 20:02:26 +0000
commit17eb80376bcb1c03641d40c72aeb4bbc1c27116b (patch)
treeba7ea17b2cfcc6b4601f25b08d6217d427d2d834
parentMore fixes for building the qbs plugin (bug 548086). (diff)
downloadgentoo-2-17eb80376bcb1c03641d40c72aeb4bbc1c27116b.tar.gz
gentoo-2-17eb80376bcb1c03641d40c72aeb4bbc1c27116b.tar.bz2
gentoo-2-17eb80376bcb1c03641d40c72aeb4bbc1c27116b.zip
Fix documentation of 3 variables in php-ext-source-r2 eclass
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/php-ext-source-r2.eclass10
2 files changed, 10 insertions, 5 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 23be1832bc3b..808e52867f64 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.1601 2015/05/04 18:59:30 grknight Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1602 2015/05/04 20:02:26 grknight Exp $
+
+ 04 May 2015; <grknight@gentoo.org> php-ext-source-r2.eclass:
+ Fix documentation of 3 variables in php-ext-source-r2 eclass
04 May 2015; <grknight@gentoo.org> php-ext-source-r2.eclass:
Make USE_PHP a REQUIRED variable for the php-ext-source-r2 eclass
diff --git a/eclass/php-ext-source-r2.eclass b/eclass/php-ext-source-r2.eclass
index 0b7d61030b36..38889789e554 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.35 2015/05/04 18:59:30 grknight Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.36 2015/05/04 20:02:26 grknight Exp $
# @ECLASS: php-ext-source-r2.eclass
# @MAINTAINER:
@@ -102,11 +102,12 @@ DEPEND="${DEPEND}
# @DESCRIPTION:
# runs standard src_unpack + _phpize
-# @VARIABLE: PHP_EXT_SKIP_PHPIZE
+# @ECLASS-VARIABLE: PHP_EXT_SKIP_PHPIZE
# @DESCRIPTION:
# phpize will be run by default for all ebuilds that use
# php-ext-source-r2_src_unpack
# Set PHP_EXT_SKIP_PHPIZE="yes" in your ebuild if you do not want to run phpize.
+
php-ext-source-r2_src_unpack() {
unpack ${A}
local slot orig_s="${PHP_EXT_S}"
@@ -143,9 +144,10 @@ php-ext-source-r2_phpize() {
# @DESCRIPTION:
# Takes care of standard configure for PHP extensions (modules).
-# @VARIABLE: my_conf
+# @ECLASS-VARIABLE: my_conf
# @DESCRIPTION:
# Set this in the ebuild to pass configure options to econf.
+
php-ext-source-r2_src_configure() {
# net-snmp creates this file #385403
addpredict /usr/share/snmp/mibs/.index
@@ -181,7 +183,7 @@ php-ext-source-r2_src_compile() {
# @DESCRIPTION:
# Takes care of standard install for PHP extensions (modules).
-# @VARIABLE: DOCS
+# @ECLASS-VARIABLE: DOCS
# @DESCRIPTION:
# Set in ebuild if you wish to install additional, package-specific documentation.
php-ext-source-r2_src_install() {