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

Collapse All | Expand All

(-)mediawiki-1.5.0_rc4.ebuild.orig (-5 / +19 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/mediawiki/mediawiki-1.5.0_rc4.ebuild,v 1.1 2005/08/30 22:40:16 trapni Exp $
3
# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.5.0_rc4.ebuild,v 1.1 2005/08/30 22:40:16 trapni Exp $
4
4
5
inherit webapp
5
inherit webapp eutils
6
6
7
DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)"
7
DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)"
8
HOMEPAGE="http://www.mediawiki.org"
8
HOMEPAGE="http://www.mediawiki.org"
Lines 23-28 Link Here
23
				 media-gfx/imagemagick )
23
				 media-gfx/imagemagick )
24
		 imagemagick? ( media-gfx/imagemagick )"
24
		 imagemagick? ( media-gfx/imagemagick )"
25
25
26
pkg_setup() {
27
	webapp_pkg_setup
28
	
29
	if ! built_with_use -o virtual/php gd gd-external ; then
30
		if ! built_with_use virtual/php pcre mysql zlib ; then
31
			eerror "${P} needs php built with USE=pcre mysql zlib"
32
			eerror "and gd or gd-external."
33
			die "Re-emerge php with the above use flags and rerun emerge ${P}"
34
		else
35
			eerror "${P} needs php built with USE=gd or USE=gd-external"
36
			die "Re-emerge php with one of the above use flags and rerun emerge ${P}"
37
		fi
38
	elif ! built_with_use virtual/php pcre mysql zlib ; then
39
		eerror "${P} needs php built with USE=pcre mysql zlib"
40
		die "Re-emerge php with the above use flags and rerun emerge ${P}"
41
	fi
42
}
43
26
src_compile() {
44
src_compile() {
27
	if use math; then
45
	if use math; then
28
		einfo "Compiling math support"
46
		einfo "Compiling math support"
Lines 50-62 Link Here
50
		languages
68
		languages
51
		maintenance
69
		maintenance
52
		maintenance/archives
70
		maintenance/archives
53
		maintenance/dtrace
54
		maintenance/oracle
55
		maintenance/oracle/archives
56
		maintenance/postgresql
71
		maintenance/postgresql
57
		maintenance/storage
72
		maintenance/storage
58
		skins
73
		skins
59
		skins/amethyst
60
		skins/chick
74
		skins/chick
61
		skins/common
75
		skins/common
62
		skins/common/images
76
		skins/common/images

Return to bug 105435