Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o, mjolnir@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-db/postgresql: ChangeLog postgresql-7.4.19.ebuild
Date: Mon, 14 Jan 2008 05:55:01
Message-Id: 20080114055504.GB10860@comet
1 On 20:14 Sun 13 Jan , Martin Jackson (mjolnir) wrote:
2 > 1.1 dev-db/postgresql/postgresql-7.4.19.ebuild
3 >
4 > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql/postgresql-7.4.19.ebuild?rev=1.1&view=markup
5 > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/postgresql/postgresql-7.4.19.ebuild?rev=1.1&content-type=text/plain
6
7 > src_compile() {
8 > filter-flags -ffast-math -feliminate-dwarf2-dups
9 >
10 > # Correctly support the XML stuff
11 > if use xml ; then
12 > CFLAGS="${CFLAGS} $(pkg-config --cflags libxml-2.0)"
13 > LIBS="${LIBS} $(pkg-config --libs libxml-2.0)"
14 > fi
15 >
16 > # Detect mips systems properly
17 > gnuconfig_update
18 >
19 > cd "${S}"
20 >
21 > ./configure --prefix=/usr \
22 > --includedir=/usr/include/postgresql/pgsql \
23 > --sysconfdir=/etc/postgresql \
24 > --mandir=/usr/share/man \
25 > --host=${CHOST} \
26 > --docdir=/usr/share/doc/${PF} \
27 > --libdir=/usr/$(get_libdir) \
28
29 Could you add a comment if econf doesn't work here, and all the other
30 PG-related ebuilds you committed recently? It looks like these options
31 pretty much mirror what econf does.
32
33 > emake -j1 LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die "main emake failed"
34
35 Is upstream aware that its parallel build is broken? It might be nice to
36 add a link to the upstream bug, if one exists.
37
38 Thanks,
39 Donnie
40 --
41 gentoo-dev@l.g.o mailing list