Gentoo Archives: gentoo-dev

From: Doug Goldstein <cardoe@g.o>
To:
Cc: gentoo-dev@g.o
Subject: Re: [gentoo-dev] what does manual "make" do, portage doesn't ?
Date: Wed, 24 Jul 2002 14:13:27
Message-Id: 3D3EFC21.6060200@gentoo.org
In Reply to: Re: [gentoo-dev] what does manual "make" do, portage doesn't ? by Todd Heim
1 Todd Heim wrote:
2
3 >in you ebuild, instead of plain './configure'; try this:
4 >
5 >./configure --host=${CHOST} || die
6 >
7 >--
8 >Todd Heim
9 >
10 >On Tuesday 23 July 2002 10:42 am, Tibor Rudas wrote:
11 ><snip>
12 >
13 >
14 >>src_compile() {
15 >> ./configure || die
16 >>
17 >> make || die
18 >>}
19 >><snip>
20 >>make stops with an "unknown target" error in some subdir.
21 >>If I then enter '/scratch/tmp/portage/mpich-1.2.4/work/mpich-1.2.4' and
22 >>type "make" it works fine.
23 >>
24 >>
25 >...
26 >_______________________________________________
27 >gentoo-dev mailing list
28 >gentoo-dev@g.o
29 >http://lists.gentoo.org/mailman/listinfo/gentoo-dev
30 >
31 >
32 >
33 >
34 The proper way would be
35
36 src_compile() {
37 econf || die
38 emake || die
39 }
40
41 --
42 Doug Goldstein
43 Developer (Laptops, WiFi, GCC-3.1)
44 Gentoo Linux http://www.gentoo.org/~cardoe/

Replies

Subject Author
Re: [gentoo-dev] what does manual "make" do, portage doesn't ? Tibor Rudas <a9101556@××××××××××××××.at>