| 1 |
compnerd |
1.8 |
# Copyright 1999-2008 Gentoo Foundation |
| 2 |
foser |
1.1 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
loki_val |
1.9 |
# $Header: /var/cvsroot/gentoo-x86/eclass/mono.eclass,v 1.8 2008/03/01 23:49:15 compnerd Exp $ |
| 4 |
compnerd |
1.8 |
|
| 5 |
|
|
# @ECLASS: mono.eclass |
| 6 |
|
|
# @MAINTAINER: |
| 7 |
|
|
# dotnet@gentoo.org |
| 8 |
|
|
# @BLURB: common settings and functions for mono and dotnet related |
| 9 |
jurek |
1.7 |
# packages |
| 10 |
compnerd |
1.8 |
# @DESCRIPTION: |
| 11 |
|
|
# The mono eclass contains common environment settings that are useful for |
| 12 |
|
|
# dotnet packages. Currently, it provides no functions, just exports |
| 13 |
|
|
# MONO_SHARED_DIR and sets LC_ALL in order to prevent errors during compilation |
| 14 |
|
|
# of dotnet packages. |
| 15 |
foser |
1.1 |
|
| 16 |
swegener |
1.6 |
# >=mono-0.92 versions using mcs -pkg:foo-sharp require shared memory, so we set the |
| 17 |
latexer |
1.2 |
# shared dir to ${T} so that ${T}/.wapi can be used during the install process. |
| 18 |
compnerd |
1.8 |
export MONO_SHARED_DIR="${T}" |
| 19 |
jurek |
1.7 |
|
| 20 |
|
|
# Building mono, nant and many other dotnet packages is known to fail if LC_ALL |
| 21 |
|
|
# variable is not set to C. To prevent this all mono related packages will be |
| 22 |
|
|
# build with LC_ALL=C (see bugs #146424, #149817) |
| 23 |
|
|
export LC_ALL=C |
| 24 |
loki_val |
1.9 |
|
| 25 |
|
|
#Monodevelop-using applications need this to be set or they will try to create config |
| 26 |
|
|
#files in the user's ~ dir. |
| 27 |
|
|
|
| 28 |
|
|
export XDG_CONFIG_HOME="${T}" |