diff options
author | Dawid Węgliński <cla@gentoo.org> | 2009-11-13 15:57:24 +0000 |
---|---|---|
committer | Dawid Węgliński <cla@gentoo.org> | 2009-11-13 15:57:24 +0000 |
commit | 07c2e393ed3193e8b8ba5ffdf14209a048f6b5fd (patch) | |
tree | 8f531bb16316dd8e368b74c93ae67abaf1e63f87 /eclass | |
parent | Version bump (diff) | |
download | historical-07c2e393ed3193e8b8ba5ffdf14209a048f6b5fd.tar.gz historical-07c2e393ed3193e8b8ba5ffdf14209a048f6b5fd.tar.bz2 historical-07c2e393ed3193e8b8ba5ffdf14209a048f6b5fd.zip |
Let non php maintainers to upload patchset tarballs somewhere where they have write acces by $PHP_PATCHSET_URI
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/php5_2-sapi.eclass | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/eclass/php5_2-sapi.eclass b/eclass/php5_2-sapi.eclass index fd7f9bba0364..ce5b42660af3 100644 --- a/eclass/php5_2-sapi.eclass +++ b/eclass/php5_2-sapi.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/php5_2-sapi.eclass,v 1.25 2009/07/20 10:32:34 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php5_2-sapi.eclass,v 1.26 2009/11/13 15:57:24 cla Exp $ # ======================================================================== # Based on robbat2's work on the php4 sapi eclass @@ -147,7 +147,13 @@ PHP_INI_UPSTREAM="php.ini-dist" # @ECLASS-VARIABLE: PHP_PATCHSET_REV # @DESCRIPTION: # Provides PHP patchsets support. -SRC_URI="${SRC_URI} http://gentoo.longitekk.com/php-patchset-${MY_PHP_PV}-r${PHP_PATCHSET_REV}.tar.bz2" +# This condition will help non php maintainers in fixing bugs and let them to +# upload patchset tarballs somewhere else. +if [[ ! -n ${PHP_PATCHSET_URI} ]]; then + SRC_URI="${SRC_URI} http://gentoo.longitekk.com/php-patchset-${MY_PHP_PV}-r${PHP_PATCHSET_REV}.tar.bz2" +else + SRC_URI="${SRC_URI} ${PHP_PATCHSET_URI}" +fi # @ECLASS-VARIABLE: SUHOSIN_PATCH # @DESCRIPTION: |