From 8c4e3f64b6763a9921b2437a93f210a2ee99512f Mon Sep 17 00:00:00 2001 From: Dawid Węgliński Date: Fri, 13 Nov 2009 15:57:24 +0000 Subject: Let non php maintainers to upload patchset tarballs somewhere where they have write acces by $PHP_PATCHSET_URI --- eclass/php5_2-sapi.eclass | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'eclass') 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: -- cgit v1.2.3-65-gdbad