diff options
author | Brian Evans <grknight@gentoo.org> | 2017-11-17 13:25:10 -0500 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2017-11-17 13:25:10 -0500 |
commit | 3ff29edd01a1cd1d96850ced6c1431f9a874c2dc (patch) | |
tree | 6ebad726b61d67e0f547b7d97cd9974c315efd4a /eclass | |
parent | php-lib-r1.eclass: Fix documentation and mark DEAD wrt bug 637842 (diff) | |
download | gentoo-3ff29edd01a1cd1d96850ced6c1431f9a874c2dc.tar.gz gentoo-3ff29edd01a1cd1d96850ced6c1431f9a874c2dc.tar.bz2 gentoo-3ff29edd01a1cd1d96850ced6c1431f9a874c2dc.zip |
php-pear-r1.eclass: Fix documentation wrt bug 637844
Closes: https://bugs.gentoo.org/show_bug.cgi?id=637844
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/php-pear-r1.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/php-pear-r1.eclass b/eclass/php-pear-r1.eclass index 9e3071d605f4..aac801f79d4f 100644 --- a/eclass/php-pear-r1.eclass +++ b/eclass/php-pear-r1.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # @ECLASS: php-pear-r1.eclass @@ -42,7 +42,7 @@ RDEPEND="${DEPEND}" [[ -z "${PHP_PEAR_PKG_NAME}" ]] && PHP_PEAR_PKG_NAME="${PN/PEAR-/}" fix_PEAR_PV() { - tmp="${PV}" + local tmp="${PV}" tmp="${tmp/_/}" tmp="${tmp/rc/RC}" tmp="${tmp/beta/b}" @@ -51,6 +51,7 @@ fix_PEAR_PV() { } # @ECLASS-VARIABLE: PEAR_PV +# @DEFAULT: PV with _rc->RC, _beta->b, _alpha->a, _pre->pre, _p->p # @DESCRIPTION: # Set in ebuild if the eclass ${PV} mangling breaks SRC_URI for alpha/beta/rc versions [[ -z "${PEAR_PV}" ]] && fix_PEAR_PV |