1 |
Dnia 29-10-2007, Pn o godzinie 23:03 -0700, Donnie Berkholz napisał(a): |
2 |
> On 22:45 Mon 29 Oct , Dawid Weglinski (cla) wrote: |
3 |
> > Revision Changes Path |
4 |
> > 1.1 net-irc/mistbot/mistbot-0.9.ebuild |
5 |
> > |
6 |
> > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/mistbot/mistbot-0.9.ebuild?rev=1.1&view=markup |
7 |
> > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/mistbot/mistbot-0.9.ebuild?rev=1.1&content-type=text/plain |
8 |
> |
9 |
> > src_compile() { |
10 |
> > ebegin "Change build.conf to fit needs" |
11 |
> > |
12 |
> > if ! use xml; then |
13 |
> > sed -e '/^MODS\ +=\ rss$/d' -i build.conf || die "sed failed" |
14 |
> > fi |
15 |
> > |
16 |
> > if ! use nls; then |
17 |
> > sed -e '/^NLS = nls$/d' -i build.conf || die "sed failed" |
18 |
> > fi |
19 |
> > |
20 |
> > if ! use debug; then |
21 |
> > sed -e '/^DEBUG = debug$/d' -i build.conf || die "sed failed" |
22 |
> > fi |
23 |
> > |
24 |
> > if ! use ssl; then |
25 |
> > sed -e '/^SSL = ssl$/d' -i build.conf || die "sed failed" |
26 |
> > fi |
27 |
> > |
28 |
> > sed -e 's/^#ONCE\ =\ yes$/ONCE\ =\ yes/' -i build.conf || die "sed failed" |
29 |
> |
30 |
> What's up with some of these escaping spaces, and others not? |
31 |
> |
32 |
> > echo "CXXFLAGS=${CXXFLAGS}" >> build.conf |
33 |
> > echo "CXX=$(tc-getCXX)" >> build.conf |
34 |
> > echo "PREFIX=/usr" >> build.conf |
35 |
> > |
36 |
> > ebegin "compiling source" |
37 |
> > |
38 |
> > emake all-oneGo || die "emake failed" |
39 |
> > |
40 |
> > if use doc; then |
41 |
> > ebegin "generate documentation" |
42 |
> > make doc || die "make doc failed" |
43 |
> > fi |
44 |
> > } |
45 |
> > |
46 |
> > src_install() { |
47 |
> > make install DESTDIR="${D}" || die "make install failed" |
48 |
> |
49 |
> Any particular reason 'emake' isn't used here or in the 'make doc' call? |
50 |
> |
51 |
> Thanks, |
52 |
> Donnie |
53 |
|
54 |
Fixed, thanks |
55 |
|
56 |
Cheers |
57 |
-- |
58 |
,-----------------------------. |
59 |
| Dawid Węgliński | |
60 |
| cla@g.o | |
61 |
| cla @ irc.freenode.net | |
62 |
| GPG: 295E72D9 | |
63 |
`-----------------------------' |