summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2006-06-23 17:20:34 +0000
committerLuca Longinotti <chtekk@gentoo.org>2006-06-23 17:20:34 +0000
commit07778378d04f1e0a63c750c32ab4c811176dea47 (patch)
tree3d88bbf7e7a0713d784567237498014e76f01656 /eclass/webapp-apache.eclass
parentNow build if x11-libs/libmatchbox was compiled w/o jpeg support, and then, do... (diff)
downloadhistorical-07778378d04f1e0a63c750c32ab4c811176dea47.tar.gz
historical-07778378d04f1e0a63c750c32ab4c811176dea47.tar.bz2
historical-07778378d04f1e0a63c750c32ab4c811176dea47.zip
Remove webapp-check-php function: it's not used anywhere in the tree and outdated&broken, please use require_php_with[_any]_use of the depend.php
eclass.
Diffstat (limited to 'eclass/webapp-apache.eclass')
-rw-r--r--eclass/webapp-apache.eclass31
1 files changed, 1 insertions, 30 deletions
diff --git a/eclass/webapp-apache.eclass b/eclass/webapp-apache.eclass
index 031094cd6eee..5c606a120d24 100644
--- a/eclass/webapp-apache.eclass
+++ b/eclass/webapp-apache.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/webapp-apache.eclass,v 1.25 2005/07/11 15:08:06 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/webapp-apache.eclass,v 1.26 2006/06/23 17:20:34 chtekk Exp $
#
# Author: Stuart Herbert <stuart@gentoo.org>
#
@@ -109,32 +109,3 @@ function webapp-pkg_setup ()
ewarn "Please file a bug on http://bugs.gentoo.org/, stating that this"
ewarn "ebuild needs converting to use the new approach."
}
-
-# shamelessly stolen from Max Kalika <max@gentoo.org>'s horde stuff ;-)
-#
-# call this from your ebuild's pkg_setup() function!!
-
-function webapp-check-php ()
-{
- local missing=""
- local php_use="$(</var/db/pkg/`best_version dev-php/mod_php`/USE)"
- local i
-
- for i in $* ; do
- if [ ! "`has ${i} ${php_use}`" ] ; then
- missing="${missing} ${i}"
- fi
- done
-
- # let's tell the user how to fix these problems
-
- if [ -n "${missing}" ]; then
- eerror "PHP is missing support for one or more options:"
- eerror " ${missing}"
- eerror
- eerror "Please add '${missing}' to your USE flags, and re-install mod_php"
- die "mod_php needs re-compiling with missing options"
- fi
-
- return 0
-}