From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E4zdV-0006mX-4J for garchives@archives.gentoo.org; Tue, 16 Aug 2005 11:29:41 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7GBSA7q018660; Tue, 16 Aug 2005 11:28:10 GMT Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7GBOXFA025222 for ; Tue, 16 Aug 2005 11:24:34 GMT Received: by zproxy.gmail.com with SMTP id x7so930981nzc for ; Tue, 16 Aug 2005 04:25:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=Q+OLQ0LpbCTeuVoYpjTClpG5+l4dRQdN00wkqkSmu/42fR2DqzYJo85C/3vw/1LMkOMICLmphUxCvoYQX5IDqmjvt+W5cR4Z7kCe5i/aJu2BStR3W2dwDY3Uqdu7XJyuGiz0wUAjbGoHqgE+lG/N/tCjs8CCTEP2LPEio7oJ0ZE= Received: by 10.36.23.6 with SMTP id 6mr5154350nzw; Tue, 16 Aug 2005 04:25:12 -0700 (PDT) Received: from ?192.168.1.104? ([24.30.171.44]) by mx.gmail.com with ESMTP id 40sm228307nzf.2005.08.16.04.25.12; Tue, 16 Aug 2005 04:25:12 -0700 (PDT) Message-ID: <4301CD18.9040708@gmail.com> Date: Tue, 16 Aug 2005 04:25:12 -0700 From: Zac Medico User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050804) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] [OT] Ebuild with scons and sandbox References: <4301B89E.8010900@gmail.com> <4301BC92.7090509@gmail.com> <4301C3DE.6040402@gmail.com> In-Reply-To: <4301C3DE.6040402@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 8d186976-47e3-4ea5-afa5-55a2d10b4e5b X-Archives-Hash: 19c6117a75a4fd9dbe729fb5c0020fb1 Nagatoro wrote: > src_compile() { > # Waring message "borrowed" from the enlightenment.eclass > # by vapier@gentoo.org > eerror "This is a LIVE CVS ebuild." > eerror "That means there are NO promises it will work." > eerror "If it fails to build, FIX THE CODE YOURSELF" > eerror "before reporting any issues." > > scons release=1 || die "scons failed" > } If you run "equery depends -a scons" and read some of those ebuilds you'll see something like this: scons DESTDIR=${D} See the explanation of ${D} in the ebuild(5) manpage. That helps keep you inside the sandbox. Zac -- gentoo-user@gentoo.org mailing list