Gentoo Archives: gentoo-dev

From: "Marijn Schouten (hkBst)" <hkBst@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-p2p/deluge: ChangeLog deluge-0.5.6.2.ebuild deluge-0.5.6.1.ebuild
Date: Wed, 31 Oct 2007 18:26:40
Message-Id: 4728C88C.1090406@gentoo.org
In Reply to: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-p2p/deluge: ChangeLog deluge-0.5.6.2.ebuild deluge-0.5.6.1.ebuild by Donnie Berkholz
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Donnie Berkholz wrote:
5 > On 15:38 Wed 31 Oct , Raul Porcel (armin76) wrote:
6 >> 1.1 net-p2p/deluge/deluge-0.5.6.2.ebuild
7 >>
8 >> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/deluge/deluge-0.5.6.2.ebuild?rev=1.1&view=markup
9 >> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/deluge/deluge-0.5.6.2.ebuild?rev=1.1&content-type=text/plain
10 >
11 >> pkg_setup() {
12 >> if has_version "<dev-libs/boost-1.34" && \
13 >> ! built_with_use "dev-libs/boost" threads; then
14 >> eerror "dev-libs/boost has to be built with threads USE-flag."
15 >> die "Missing threads USE-flag for dev-libs/boost"
16 >> fi
17 >> }
18 >>
19 >> src_compile() {
20 >> filter-ldflags -Wl,--as-needed
21 >>
22 >> distutils_src_compile
23 >> }
24 >
25 > If you moved the filter-ldflags() call up to pkg_setup(), you could drop
26 > src_compile() altogether to clean up the ebuild a little.
27
28 Wouldn't that make binary packages cry?
29
30 Marijn
31
32 - --
33 Marijn Schouten (hkBst), Gentoo Lisp project
34 <http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode
35 -----BEGIN PGP SIGNATURE-----
36 Version: GnuPG v2.0.7 (GNU/Linux)
37 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
38
39 iD8DBQFHKMiMp/VmCx0OL2wRAuCGAJ9WdFT5k7bGxZCEJOT0hiwjWZafpgCfYh5F
40 ONjgCrQ0Y8kf7HI/97YU4AU=
41 =tPfT
42 -----END PGP SIGNATURE-----
43 --
44 gentoo-dev@g.o mailing list

Replies