Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o, hattya@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-db/qdbm: ChangeLog qdbm-1.8.77.ebuild
Date: Tue, 05 Feb 2008 07:05:22
Message-Id: 20080205070518.GD11639@supernova
1 On 17:16 Mon 04 Feb , Akinori Hattori (hattya) wrote:
2 > 1.1 dev-db/qdbm/qdbm-1.8.77.ebuild
3 >
4 > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/qdbm/qdbm-1.8.77.ebuild?rev=1.1&view=markup
5 > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/qdbm/qdbm-1.8.77.ebuild?rev=1.1&content-type=text/plain
6
7 > src_compile() {
8 >
9 > econf \
10 > $(use_enable debug) \
11 > $(use_enable zlib) \
12 > --enable-pthread \
13 > --enable-iconv \
14 > || die
15 > emake || die
16 >
17 > local u
18 >
19 > for u in java perl ruby; do
20 > if ! use ${u}; then
21 > continue
22 > fi
23 >
24 > cd ${u}
25 > econf || die
26 > emake || die
27 > cd -
28 > done
29 >
30 > }
31
32 What happens if the make process changes directories? Does `cd -` still
33 work as expected, or should you use pushd/popd instead?
34
35 Same point for src_test() and src_install().
36
37 Thanks,
38 Donnie
39 --
40 gentoo-dev@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-db/qdbm: ChangeLog qdbm-1.8.77.ebuild Ciaran McCreesh <ciaran.mccreesh@×××××××××××××.uk>