Gentoo Archives: gentoo-dev

From: Eivind Tagseth <eivindt-gentoo@××××××××.no>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] ebuild dependencies
Date: Tue, 30 Mar 2004 07:23:27
Message-Id: 20040330072324.GB5248@tagseth-trd.consultit.no
In Reply to: [gentoo-dev] ebuild dependencies by Lukasz Strzygowski
* Lukasz Strzygowski <lucass@××××××.pl> [2004-03-29 21:10:42 +0200]:

> hello guys, > > i want my ebuild to depend on a package merged with specified use > flag (concrete on pygtk with support for gnome). how can i do it?
I guess you could do something like this: grep -q "\<gnome\>" /var/db/pkg/dev-python/pygtk-2.0.0*/USE and issue a warning/error to the user explaining the situation if gnome support was not enabled for pygtk? Eivind -- gentoo-dev@g.o mailing list