Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 102827 | Differences between
and this patch

Collapse All | Expand All

(-)cacti-0.8.6f-r1.ebuild.orig (-7 / +4 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $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 $
3
# $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 $
4
4
5
inherit eutils webapp
5
inherit eutils webapp depend.php
6
6
7
DESCRIPTION="Cacti is a complete frontend to rrdtool"
7
DESCRIPTION="Cacti is a complete frontend to rrdtool"
8
HOMEPAGE="http://www.cacti.net/"
8
HOMEPAGE="http://www.cacti.net/"
Lines 26-33 Link Here
26
	net-analyzer/rrdtool
26
	net-analyzer/rrdtool
27
	dev-db/mysql
27
	dev-db/mysql
28
	virtual/cron
28
	virtual/cron
29
	dev-php/php
29
	virtual/php
30
	dev-php/mod_php"
30
	virtual/httpd-php"
31
31
32
src_unpack() {
32
src_unpack() {
33
	unpack ${P}.tar.gz
33
	unpack ${P}.tar.gz
Lines 38-47 Link Here
38
38
39
pkg_setup() {
39
pkg_setup() {
40
	webapp_pkg_setup
40
	webapp_pkg_setup
41
	built_with_use dev-php/php mysql || \
41
	require_php_with_use mysql
42
		die "dev-php/php must be compiled with USE=mysql"
43
	built_with_use dev-php/mod_php mysql || \
44
		die "dev-php/mod_php must be compiled with USE=mysql"
45
}
42
}
46
43
47
src_compile() {
44
src_compile() {

Return to bug 102827