1 |
commit: 3ff29edd01a1cd1d96850ced6c1431f9a874c2dc |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 17 18:25:10 2017 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 17 18:25:10 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ff29edd |
7 |
|
8 |
php-pear-r1.eclass: Fix documentation wrt bug 637844 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=637844 |
11 |
|
12 |
eclass/php-pear-r1.eclass | 5 +++-- |
13 |
1 file changed, 3 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/eclass/php-pear-r1.eclass b/eclass/php-pear-r1.eclass |
16 |
index 9e3071d605f..aac801f79d4 100644 |
17 |
--- a/eclass/php-pear-r1.eclass |
18 |
+++ b/eclass/php-pear-r1.eclass |
19 |
@@ -1,4 +1,4 @@ |
20 |
-# Copyright 1999-2016 Gentoo Foundation |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
# @ECLASS: php-pear-r1.eclass |
25 |
@@ -42,7 +42,7 @@ RDEPEND="${DEPEND}" |
26 |
[[ -z "${PHP_PEAR_PKG_NAME}" ]] && PHP_PEAR_PKG_NAME="${PN/PEAR-/}" |
27 |
|
28 |
fix_PEAR_PV() { |
29 |
- tmp="${PV}" |
30 |
+ local tmp="${PV}" |
31 |
tmp="${tmp/_/}" |
32 |
tmp="${tmp/rc/RC}" |
33 |
tmp="${tmp/beta/b}" |
34 |
@@ -51,6 +51,7 @@ fix_PEAR_PV() { |
35 |
} |
36 |
|
37 |
# @ECLASS-VARIABLE: PEAR_PV |
38 |
+# @DEFAULT: PV with _rc->RC, _beta->b, _alpha->a, _pre->pre, _p->p |
39 |
# @DESCRIPTION: |
40 |
# Set in ebuild if the eclass ${PV} mangling breaks SRC_URI for alpha/beta/rc versions |
41 |
[[ -z "${PEAR_PV}" ]] && fix_PEAR_PV |