Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o, cla@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-irc/mistbot: mistbot-0.9.ebuild metadata.xml Manifest ChangeLog
Date: Tue, 30 Oct 2007 06:07:14
Message-Id: 20071030060305.GC30328@supernova
1 On 22:45 Mon 29 Oct , Dawid Weglinski (cla) wrote:
2 > Revision Changes Path
3 > 1.1 net-irc/mistbot/mistbot-0.9.ebuild
4 >
5 > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/mistbot/mistbot-0.9.ebuild?rev=1.1&view=markup
6 > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/mistbot/mistbot-0.9.ebuild?rev=1.1&content-type=text/plain
7
8 > src_compile() {
9 > ebegin "Change build.conf to fit needs"
10 >
11 > if ! use xml; then
12 > sed -e '/^MODS\ +=\ rss$/d' -i build.conf || die "sed failed"
13 > fi
14 >
15 > if ! use nls; then
16 > sed -e '/^NLS = nls$/d' -i build.conf || die "sed failed"
17 > fi
18 >
19 > if ! use debug; then
20 > sed -e '/^DEBUG = debug$/d' -i build.conf || die "sed failed"
21 > fi
22 >
23 > if ! use ssl; then
24 > sed -e '/^SSL = ssl$/d' -i build.conf || die "sed failed"
25 > fi
26 >
27 > sed -e 's/^#ONCE\ =\ yes$/ONCE\ =\ yes/' -i build.conf || die "sed failed"
28
29 What's up with some of these escaping spaces, and others not?
30
31 > echo "CXXFLAGS=${CXXFLAGS}" >> build.conf
32 > echo "CXX=$(tc-getCXX)" >> build.conf
33 > echo "PREFIX=/usr" >> build.conf
34 >
35 > ebegin "compiling source"
36 >
37 > emake all-oneGo || die "emake failed"
38 >
39 > if use doc; then
40 > ebegin "generate documentation"
41 > make doc || die "make doc failed"
42 > fi
43 > }
44 >
45 > src_install() {
46 > make install DESTDIR="${D}" || die "make install failed"
47
48 Any particular reason 'emake' isn't used here or in the 'make doc' call?
49
50 Thanks,
51 Donnie
52 --
53 gentoo-dev@g.o mailing list

Replies