Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21606 - [PATCH] updated dependency handling in gcc-3.3.ebuild
Summary: [PATCH] updated dependency handling in gcc-3.3.ebuild
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Please assign to toolchain
URL: http://www.netdomination.org/ebuilds/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-24 07:57 UTC by Stefan Knoblich (RETIRED)
Modified: 2003-10-30 14:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
updated dependency handling (gcc-3.3.ebuild.diff,1.64 KB, patch)
2003-05-24 08:08 UTC, Stefan Knoblich (RETIRED)
Details | Diff
new version, without that if [ `use bla` ... stuff (gcc-3.3.ebuild-noif.diff,1.22 KB, patch)
2003-06-04 18:37 UTC, Stefan Knoblich (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Knoblich (RETIRED) gentoo-dev 2003-05-24 07:57:28 UTC
with this patch dependencies are handled better in case USE="X java" is set 
 
 

Reproducible: Always
Steps to Reproduce:
1. emerge gcc 
2. 
3. 
Actual Results:  
if USE="X java" is set, emerge gcc wouldn't install X (because it's not a dependency) 

Expected Results:  
should emerge X an build with swing / awt support
Comment 1 Stefan Knoblich (RETIRED) gentoo-dev 2003-05-24 08:08:32 UTC
Created attachment 12360 [details, diff]
updated dependency handling
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-06-03 06:51:46 UTC
No can do (the if [ `use foo`] stuff), as it mess portage's dep cache.
Comment 3 Stefan Knoblich (RETIRED) gentoo-dev 2003-06-03 10:23:32 UTC
hmm sry didn't know that, i could rewrite it using standard depedency syntax, 
but it would look extremely ugly ... 
Comment 4 Stefan Knoblich (RETIRED) gentoo-dev 2003-06-04 18:37:42 UTC
Created attachment 12806 [details, diff]
new version, without that if [ `use bla` ... stuff

behaves like the old one, but should be more dep cache friendly (thx mholzer
for pointing this out)

(did a quick test using emerge -pve and the bootstrap / build USE flags ...)
Comment 5 Joshua Kinard gentoo-dev 2003-10-01 22:38:37 UTC
Azarah: is this patch still valid (or needed) for gcc-3.3.1 ebuilds?
Comment 6 Joshua Kinard gentoo-dev 2003-10-30 14:11:52 UTC
No info provided on the validity of this bug.  Resolving as NEEDINFO.