Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] workaround for depending on USE flags enabled (Bug 2272)
Date: Tue, 07 Dec 2004 01:41:33
Message-Id: 200412062041.24945.vapier@gentoo.org
1 since some people have started implementing their own hackish versions of how
2 to check if a package was built with certain USE flags, ive added a function
3 to eutils.eclass
4
5 # Usage: built_with_use <DEPEND ATOM> <List of USE flags>
6 # ex: built_with_use xchat gtk2
7 # ex: built_with_use gd png jpeg gif
8 -mike
9
10 --
11 gentoo-dev@g.o mailing list

Replies