Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 17925

Summary: patch for licq ebuild to have right dependancy behaviour
Product: Gentoo Linux Reporter: Thomas Weidner <3.14159>
Component: New packagesAssignee: Thomas Raschbacher <lordvan>
Status: RESOLVED FIXED    
Severity: normal CC: kde
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: licq-1.2.4-r2.ebuild.diff

Description Thomas Weidner 2003-03-21 08:01:45 UTC
Hi,

licq-1.2.4-r2 is causing dependancies to kde,though -kde is in the useflags.
this patch should fix this.

PS: i never noticed the reverse behaviour,that licq was not causing kde
dependancies to kde,when kde is in the useflags. i have no knowledge about
portage internals and simply hope my patch wont break things.
Comment 1 Thomas Weidner 2003-03-21 08:02:32 UTC
Created attachment 9652 [details, diff]
licq-1.2.4-r2.ebuild.diff
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2003-04-22 17:31:54 UTC
Your patch was almost (but not quite) correct, but had the right idea. We can't tweak dependencies in a conditional or the dep caching in Portage gets messed up.
All conditional dependencies must be based on "use?" vars in DEPEND and RDEPEND.
A fixed-up licq-1.2.6 will be committed momentarily, closing this bug. And thanks :)