--- spawn-fcgi-1.2.0.ebuild.orig 2005-09-09 00:47:24.000000000 +0200 +++ spawn-fcgi-1.2.0.ebuild 2005-09-09 00:58:33.000000000 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-www/spawn-fcgi/spawn-fcgi-1.2.0.ebuild,v 1.3 2005/07/10 00:56:13 swegener Exp $ -inherit eutils +inherit eutils depend.php URI_ROOT="http://jan.kneschke.de/projects/lighttpd/download/" DESCRIPTION="fast-cgi server for php and lighttpd" @@ -17,7 +17,11 @@ >=sys-devel/libtool-1.4 >=sys-libs/zlib-1.1" RDEPEND=">=sys-libs/zlib-1.1 - >=dev-php/php-cgi-4.3.0" + virtual/httpd-php" + +pkg_setup() { + require_php_with_use cgi +} src_install() { make DESTDIR=${D} install || die