/[gentoo]/xml/htdocs/proj/en/glep/glep-0047.txt
Gentoo

Diff of /xml/htdocs/proj/en/glep/glep-0047.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.5
1GLEP: 47 1GLEP: 47
2Title: Creating 'safe' environment variables 2Title: Creating 'safe' environment variables
3Version: $Revision: 1.3 $ 3Version: $Revision: 1.5 $
4Last-Modified: $Date: 2006/02/12 19:57:57 $ 4Last-Modified: $Date: 2007/04/21 03:13:16 $
5Author: Diego Pettenò, Fabian Groffen 5Author: Diego Pettenò, Fabian Groffen
6Status: Draft 6Status: Deferred
7Type: Standards Track 7Type: Standards Track
8Content-Type: text/x-rst 8Content-Type: text/x-rst
9Created: 14-Oct-2005 9Created: 14-Oct-2005
10Post-History: 09-Feb-2006 10Post-History: 09-Feb-2006
11 11
170 *-*-darwin* -> KERNEL="Darwin" ELIBC="Darwin" 170 *-*-darwin* -> KERNEL="Darwin" ELIBC="Darwin"
171 *-*-netbsd* -> KERNEL="NetBSD" ELIBC="NetBSD" 171 *-*-netbsd* -> KERNEL="NetBSD" ELIBC="NetBSD"
172 *-*-solaris* -> KERNEL="Solaris" ELIBC="Solaris" 172 *-*-solaris* -> KERNEL="Solaris" ELIBC="Solaris"
173 173
174A way to achieve this is proposed by Mike Frysinger, which 174A way to achieve this is proposed by Mike Frysinger, which
175suggests to have a env-map file, for instance filled with:: 175suggests to have an env-map file, for instance filled with::
176 176
177 % cat env-map 177 % cat env-map
178 *-linux-* KERNEL=linux 178 *-linux-* KERNEL=linux
179 *-gnu ELIBC=glibc 179 *-gnu ELIBC=glibc
180 x86_64-* ARCH=amd64 180 x86_64-* ARCH=amd64

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20