summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2005-10-01 09:15:46 +0000
committerBrian Harring <ferringb@gentoo.org>2005-10-01 09:15:46 +0000
commit57fe3f148e9e47d5fecadaaa505cfbb140b187bb (patch)
tree204b83b5acb69200ddfa40aa285b038e0d6ecd19 /dev-php/mod_php/mod_php-4.4.0-r2.ebuild
parentUpdating metadata.xml (diff)
downloadgentoo-2-57fe3f148e9e47d5fecadaaa505cfbb140b187bb.tar.gz
gentoo-2-57fe3f148e9e47d5fecadaaa505cfbb140b187bb.tar.bz2
gentoo-2-57fe3f148e9e47d5fecadaaa505cfbb140b187bb.zip
bug #107467 , changing the has_version metadata hack (QA violation) so it doesn't get killed by upcoming portage changes (not saying it shouldn't be killed off, just that y'all remove it when you can, rather then a portage QA check nuking it on ya)
(Portage version: 1.524.2.76-cvs)
Diffstat (limited to 'dev-php/mod_php/mod_php-4.4.0-r2.ebuild')
-rw-r--r--dev-php/mod_php/mod_php-4.4.0-r2.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-php/mod_php/mod_php-4.4.0-r2.ebuild b/dev-php/mod_php/mod_php-4.4.0-r2.ebuild
index e37ace4e35ce..0f90f43101e5 100644
--- a/dev-php/mod_php/mod_php-4.4.0-r2.ebuild
+++ b/dev-php/mod_php/mod_php-4.4.0-r2.ebuild
@@ -1,12 +1,19 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/mod_php/mod_php-4.4.0-r2.ebuild,v 1.6 2005/09/27 02:50:34 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/mod_php/mod_php-4.4.0-r2.ebuild,v 1.7 2005/10/01 09:15:46 ferringb Exp $
IUSE="apache2"
KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
detectapache() {
+ # DO NOT REPLICATE THIS IN ANY OTHER PACKAGE WITHOUT PORTAGE DEVS PERMISSION
+ # IT IS BROKEN AND A TEMPORARY MEASURE!
+ # YOU'VE BEEN WARNED.
+ if [[ ${EBUILD_PHASE/depend} != ${EBUILD_PHASE} ]]; then
+ APACHEVER=1
+ return
+ fi
local domsg=
[ -n "$1" ] && domsg=1
HAVE_APACHE1=