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

Collapse All | Expand All

(-)mono-2.6.7.ebuild (-10 / +9 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/dev-lang/mono/mono-2.6.7.ebuild,v 1.5 2010/09/23 22:14:59 hwoarang Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-2.6.7.ebuild,v 1.5 2010/09/23 22:14:59 hwoarang Exp $
4
4
5
EAPI=2
5
EAPI="2"
6
6
7
inherit linux-info mono eutils flag-o-matic multilib go-mono pax-utils
7
inherit linux-info mono eutils flag-o-matic multilib go-mono pax-utils
8
8
Lines 11-24 Link Here
11
11
12
LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
12
LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
13
SLOT="0"
13
SLOT="0"
14
KEYWORDS="amd64 ppc x86"
14
KEYWORDS="~amd64 ~ppc ~x86"
15
15
16
IUSE="hardened minimal moonlight profile4 xen"
16
IUSE="hardened minimal moonlight +profile4 xen"
17
17
18
#Bash requirement is for += operator
18
#Bash requirement is for += operator
19
COMMONDEPEND="!<dev-dotnet/pnet-0.6.12
19
COMMONDEPEND="!<dev-dotnet/pnet-0.6.12
20
	!dev-util/monodoc
20
	!dev-util/monodoc
21
	>=dev-libs/glib-2.4:2
22
	!minimal? ( =dev-dotnet/libgdiplus-${GO_MONO_REL_PV}* )
21
	!minimal? ( =dev-dotnet/libgdiplus-${GO_MONO_REL_PV}* )
23
	ia64? (	sys-libs/libunwind )"
22
	ia64? (	sys-libs/libunwind )"
24
RDEPEND="${COMMONDEPEND}
23
RDEPEND="${COMMONDEPEND}
Lines 34-43 Link Here
34
RESTRICT="test"
33
RESTRICT="test"
35
34
36
PATCHES=(
35
PATCHES=(
37
	"${WORKDIR}/mono-2.2-libdir126.patch"
36
	"${WORKDIR}/${P}-libdir.patch"
38
	"${FILESDIR}/mono-2.2-ppc-threading.patch"
37
	"${FILESDIR}/mono-2.2-ppc-threading.patch"
39
	"${FILESDIR}/mono-2.2-uselibdir.patch"
38
	"${FILESDIR}/mono-2.2-uselibdir.patch"
40
	"${FILESDIR}/mono-2.6.4-require-glib.patch"
41
)
39
)
42
40
43
pkg_setup() {
41
pkg_setup() {
Lines 64-71 Link Here
64
62
65
src_prepare() {
63
src_prepare() {
66
	sed -e "s:@MONOLIBDIR@:$(get_libdir):" \
64
	sed -e "s:@MONOLIBDIR@:$(get_libdir):" \
67
		< "${FILESDIR}"/mono-2.2-libdir126.patch \
65
		< "${FILESDIR}"/${P}-libdir.patch \
68
		> "${WORKDIR}"/mono-2.2-libdir126.patch ||
66
		> "${WORKDIR}"/${P}-libdir.patch ||
69
		die "Sedding patch file failed"
67
		die "Sedding patch file failed"
70
	go-mono_src_prepare
68
	go-mono_src_prepare
71
69
Lines 86-96 Link Here
86
84
87
	#NOTE: We need the static libs for now so mono-debugger works.
85
	#NOTE: We need the static libs for now so mono-debugger works.
88
	#See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
86
	#See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
87
88
	#--with-glib=system configure: error: --with-glib=system is no longer supported as of Mono 2.8
89
89
	go-mono_src_configure \
90
	go-mono_src_configure \
90
		--enable-static \
91
		--enable-static \
91
		--disable-quiet-build \
92
		--disable-quiet-build \
92
		--with-preview \
93
		--with-glib=system \
94
		$(use_with moonlight) \
93
		$(use_with moonlight) \
95
		--with-libgdiplus=$(use minimal && printf "no" || printf "installed" ) \
94
		--with-libgdiplus=$(use minimal && printf "no" || printf "installed" ) \
96
		$(use_with xen xen_opt) \
95
		$(use_with xen xen_opt) \

Return to bug 340045