Gentoo Archives: gentoo-dev

From: "Andreas K. Huettel" <dilfridge@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] boost-utils.eclass -- for building against newest boost.
Date: Mon, 27 Aug 2012 23:03:25
Message-Id: 201208280103.58779.dilfridge@gentoo.org
In Reply to: [gentoo-dev] [PATCH] boost-utils.eclass -- for building against newest boost. by "Michał Górny"
1 Am Dienstag, 28. August 2012, 00:19:28 schrieb Michał Górny:
2 > Right now, it just contains the function Tiziano listed in his post[1].
3 > I'd appreciate further ideas, feedback, and possibly an example from
4 > someone who will actually need it.
5
6 How about a function that just outputs the entire required dependency string?
7 Such that we can (similar to add_kdebase_dep) write
8
9 DEPEND="$(add_boost_dep)"
10
11 (Probably we may want to pass parameters here for useflags and version, here's
12 the doc for kdebase_dep from kde4-functions.eclass (and for boost we would not
13 need a package name):
14
15 # @FUNCTION: add_kdebase_dep
16 # @DESCRIPTION:
17 # Create proper dependency for kde-base/ dependencies.
18 # This takes 1 to 3 arguments. The first being the package name, the optional
19 # second is additional USE flags to append, and the optional third is the
20 # version to use instead of the automatic version (use sparingly).
21 # The output of this should be added directly to DEPEND/RDEPEND, and may be
22 # wrapped in a USE conditional (but not an || conditional without an extra set
23 # of parentheses).
24 )
25
26 Cheers,
27 Andreas
28
29 --
30 Andreas K. Huettel
31 Gentoo Linux developer
32 kde (team lead), sci, tex, arm, printing
33 dilfridge@g.o
34 http://www.akhuettel.de/

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies