| 1 | # Copyright 1999-2004 Gentoo Foundation |
1 | # Copyright 1999-2004 Gentoo Foundation |
| 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/eclass/mono.eclass,v 1.1.1.1 2005/11/30 09:59:37 chriswhite Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mono.eclass,v 1.7 2007/06/27 01:32:58 jurek Exp $ |
| 4 | # |
4 | # |
| 5 | # Author : foser <foser@gentoo.org> |
5 | # Original Author : foser <foser@gentoo.org> |
|
|
6 | # Purpose: provide common settings and functions for mono and dotnet related |
|
|
7 | # packages |
|
|
8 | # |
|
|
9 | # Bugs to dotnet@gentoo.org |
| 6 | # |
10 | # |
| 7 | # mono eclass |
11 | # mono eclass |
| 8 | # right now only circumvents a sandbox violation by setting a mono env var |
|
|
| 9 | |
12 | |
| 10 | |
13 | |
| 11 | # >=mono-0.92 versions using mcs -pkg:foo-sharp require shared memory, so we set the |
14 | # >=mono-0.92 versions using mcs -pkg:foo-sharp require shared memory, so we set the |
| 12 | # shared dir to ${T} so that ${T}/.wapi can be used during the install process. |
15 | # shared dir to ${T} so that ${T}/.wapi can be used during the install process. |
| 13 | export MONO_SHARED_DIR=${T} |
16 | export MONO_SHARED_DIR=${T} |
|
|
17 | |
|
|
18 | # Building mono, nant and many other dotnet packages is known to fail if LC_ALL |
|
|
19 | # variable is not set to C. To prevent this all mono related packages will be |
|
|
20 | # build with LC_ALL=C (see bugs #146424, #149817) |
|
|
21 | export LC_ALL=C |