| 1 | # Copyright 1999-2004 Gentoo Foundation |
1 | # Copyright 1999-2008 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.7 2007/06/27 01:32:58 jurek Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mono.eclass,v 1.8 2008/03/01 23:49:15 compnerd Exp $ |
| 4 | # |
4 | |
| 5 | # Original Author : foser <foser@gentoo.org> |
5 | # @ECLASS: mono.eclass |
|
|
6 | # @MAINTAINER: |
|
|
7 | # dotnet@gentoo.org |
| 6 | # Purpose: provide common settings and functions for mono and dotnet related |
8 | # @BLURB: common settings and functions for mono and dotnet related |
| 7 | # packages |
9 | # packages |
| 8 | # |
10 | # @DESCRIPTION: |
| 9 | # Bugs to dotnet@gentoo.org |
11 | # The mono eclass contains common environment settings that are useful for |
| 10 | # |
12 | # dotnet packages. Currently, it provides no functions, just exports |
| 11 | # mono eclass |
13 | # MONO_SHARED_DIR and sets LC_ALL in order to prevent errors during compilation |
| 12 | |
14 | # of dotnet packages. |
| 13 | |
15 | |
| 14 | # >=mono-0.92 versions using mcs -pkg:foo-sharp require shared memory, so we set the |
16 | # >=mono-0.92 versions using mcs -pkg:foo-sharp require shared memory, so we set the |
| 15 | # shared dir to ${T} so that ${T}/.wapi can be used during the install process. |
17 | # shared dir to ${T} so that ${T}/.wapi can be used during the install process. |
| 16 | export MONO_SHARED_DIR=${T} |
18 | export MONO_SHARED_DIR="${T}" |
| 17 | |
19 | |
| 18 | # Building mono, nant and many other dotnet packages is known to fail if LC_ALL |
20 | # 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 |
21 | # 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) |
22 | # build with LC_ALL=C (see bugs #146424, #149817) |
| 21 | export LC_ALL=C |
23 | export LC_ALL=C |