From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-dev+bounces-29322-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1JMHru-0006aE-Qo
	for garchives@archives.gentoo.org; Tue, 05 Feb 2008 07:05:22 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 29472E0511;
	Tue,  5 Feb 2008 07:05:21 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 02C11E0511
	for <gentoo-dev@lists.gentoo.org>; Tue,  5 Feb 2008 07:05:21 +0000 (UTC)
Received: from gentoo.org (c-67-171-150-177.hsd1.or.comcast.net [67.171.150.177])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTP id 5699765F69;
	Tue,  5 Feb 2008 07:05:20 +0000 (UTC)
Date: Mon, 4 Feb 2008 23:05:18 -0800
From: Donnie Berkholz <dberkholz@gentoo.org>
To: gentoo-dev@lists.gentoo.org, hattya@gentoo.org
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-db/qdbm: ChangeLog
	qdbm-1.8.77.ebuild
Message-ID: <20080205070518.GD11639@supernova>
References: <E1JM4w8-0003YI-Dy@stork.gentoo.org>
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1JM4w8-0003YI-Dy@stork.gentoo.org>
User-Agent: Mutt/1.5.16 (2007-06-09)
X-Archives-Salt: 88fe751f-b3e6-44d9-b567-3ce98eba70cd
X-Archives-Hash: 6adb371c330e9da080f113baf45edd72

On 17:16 Mon 04 Feb     , Akinori Hattori (hattya) wrote:
> 1.1                  dev-db/qdbm/qdbm-1.8.77.ebuild
> 
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/qdbm/qdbm-1.8.77.ebuild?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/qdbm/qdbm-1.8.77.ebuild?rev=1.1&content-type=text/plain

> src_compile() {
> 
> 	econf \
> 		$(use_enable debug) \
> 		$(use_enable zlib) \
> 		--enable-pthread \
> 		--enable-iconv \
> 		|| die
> 	emake || die
> 
> 	local u
> 
> 	for u in java perl ruby; do
> 		if ! use ${u}; then
> 			continue
> 		fi
> 
> 		cd ${u}
> 		econf || die
> 		emake || die
> 		cd -
> 	done
> 
> }

What happens if the make process changes directories? Does `cd -` still 
work as expected, or should you use pushd/popd instead?

Same point for src_test() and src_install().

Thanks,
Donnie
-- 
gentoo-dev@lists.gentoo.org mailing list