Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 105419
Collapse All | Expand All

(-)mythweb-0.18.1.ebuild.orig (-9 / +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/www-apps/mythweb/mythweb-0.18.1.ebuild,v 1.4 2005/05/31 15:01:30 dholm Exp $
3
# $Header: /var/cvsroot/gentoo-x86/www-apps/mythweb/mythweb-0.18.1.ebuild,v 1.4 2005/05/31 15:01:30 dholm Exp $
4
4
5
inherit webapp
5
inherit webapp depend.php
6
6
7
DESCRIPTION="PHP scripts intended to manage MythTV from a web browser."
7
DESCRIPTION="PHP scripts intended to manage MythTV from a web browser."
8
HOMEPAGE="http://www.mythtv.org/"
8
HOMEPAGE="http://www.mythtv.org/"
Lines 11-30 Link Here
11
LICENSE="GPL-2"
11
LICENSE="GPL-2"
12
KEYWORDS="~amd64 ~ppc x86"
12
KEYWORDS="~amd64 ~ppc x86"
13
13
14
RDEPEND=">=dev-php/mod_php-4.2"
14
RDEPEND="virtual/httpd-php"
15
15
16
S="${WORKDIR}/mythplugins-${PV}/${PN}"
16
S="${WORKDIR}/mythplugins-${PV}/${PN}"
17
17
18
pkg_setup() {
18
pkg_setup() {
19
	webapp_pkg_setup
19
	webapp_pkg_setup
20
20
21
	if has_version \>=dev-php/mod_php-5 ; then
21
	if has_version 'dev-lang/php' ; then
22
		local modphp_use="$(</var/db/pkg/`best_version =dev-php/mod_php`/USE)"
22
	    require_php_with_use session
23
	        if ! has session ${modphp_use} ; then
24
	                eerror "mod_php is missing session support. Please add"
25
	                eerror "'session' to your USE flags, and re-emerge mod_php and php."
26
	                die "mod_php needs session support"
27
	        fi
28
	fi
23
	fi
29
}
24
}
30
25

Return to bug 105419