Gentoo Archives: gentoo-dev

From: "Petteri Räty" <betelgeuse@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] add built_with_use_die() to eutils.eclass ?
Date: Mon, 23 Apr 2007 21:59:37
Message-Id: 462D2B5B.6000604@gentoo.org
In Reply to: [gentoo-dev] add built_with_use_die() to eutils.eclass ? by dju`
1 dju` kirjoitti:
2 > Hello,
3 >
4 > I'd like to add the following function to eutils.eclass :
5 >
6 > # Generate a standard error message for missing USE flags
7 > # in existing packages, and die.
8 > #
9 > # Usage: built_with_use_die <category/package> <functionality> [<USE flag>]
10 > # ex: built_with_use_die dev-util/subversion python
11 > # or: built_with_use_die net-www/apache LDAP ldap
12 > #
13 > # Typical usage:
14 > # if ! built_with_use dev-util/subversion python ; then
15 > # built_with_use_die dev-util/subversion python
16 > # fi
17 > #
18
19 I think we should just call built_with_use inside built_with_use_die so
20 it becomes just built_with_use_die dev-util/subversion python.
21
22 Regards,
23 Petteri

Attachments

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