--- cacti-0.8.6f-r1.ebuild.orig 2005-09-09 00:36:40.000000000 +0200 +++ cacti-0.8.6f-r1.ebuild 2005-09-09 00:40:19.000000000 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/cacti/cacti-0.8.6f-r1.ebuild,v 1.2 2005/08/03 13:33:29 gustavoz Exp $ -inherit eutils webapp +inherit eutils webapp depend.php DESCRIPTION="Cacti is a complete frontend to rrdtool" HOMEPAGE="http://www.cacti.net/" @@ -26,8 +26,8 @@ net-analyzer/rrdtool dev-db/mysql virtual/cron - dev-php/php - dev-php/mod_php" + virtual/php + virtual/httpd-php" src_unpack() { unpack ${P}.tar.gz @@ -38,10 +38,7 @@ pkg_setup() { webapp_pkg_setup - built_with_use dev-php/php mysql || \ - die "dev-php/php must be compiled with USE=mysql" - built_with_use dev-php/mod_php mysql || \ - die "dev-php/mod_php must be compiled with USE=mysql" + require_php_with_use mysql } src_compile() {