/[gentoo-x86]/eclass/virtualx.eclass
Gentoo

Diff of /eclass/virtualx.eclass

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

Revision 1.18 Revision 1.19
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/virtualx.eclass,v 1.18 2004/10/19 19:51:12 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/virtualx.eclass,v 1.19 2004/11/04 10:53:14 ferringb Exp $
4# 4#
5# Author: Martin Schlemmer <azarah@gentoo.org> 5# Author: Martin Schlemmer <azarah@gentoo.org>
6# 6#
7# This eclass can be used for packages that needs a working X environment to build 7# This eclass can be used for packages that needs a working X environment to build
8 8
10INHERITED="$INHERITED $ECLASS" 10INHERITED="$INHERITED $ECLASS"
11DEPEND="virtual/x11" 11DEPEND="virtual/x11"
12 12
13DESCRIPTION="Based on the $ECLASS eclass" 13DESCRIPTION="Based on the $ECLASS eclass"
14 14
15#
16# Brian Harring <ferringb@gentoo.org> 11/04/2004
17# do not disable the sandbox during the depend phase.
18# ebuilds shouldn't touch the fs during depend phase, nor screw with the sandbox.
19#
20if [ "${EBUILD_PHASE/depend}" == "${EBUILD_PHASE}" ]; then
15[ -z "${SANDBOX_DISABLED}" ] && export SANDBOX_DISABLED="0" || : 21 [ -z "${SANDBOX_DISABLED}" ] && export SANDBOX_DISABLED="0" || :
22fi
16 23
17virtualmake() { 24virtualmake() {
18 local retval=0 25 local retval=0
19 local OLD_SANDBOX_DISABLED="${SANDBOX_DISABLED}" 26 local OLD_SANDBOX_DISABLED="${SANDBOX_DISABLED}"
20 27

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.20