Summary: | ufed-0.34 makes some use flags as --flag instead of -flag. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marc-Éric Dupuis <makerik> |
Component: | Current packages | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jieryn |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ufed-0.35-checkdefaults.patch
ufed-0.35-checkdefaults.patch |
Description
Marc-Éric Dupuis
2004-07-31 10:04:26 UTC
*** Bug 60342 has been marked as a duplicate of this bug. *** Created attachment 43561 [details, diff]
ufed-0.35-checkdefaults.patch
ufed assumes that no flags are disabled in make.defaults, which is true for all
profiles except some amd64 and mips profiles. Your profile has -java as a
default use flag, and ufed assumes that this sets the "-java" use flag.
Attached patch should fix it.
Comment on attachment 43561 [details, diff] ufed-0.35-checkdefaults.patch >--- ufed-0.35.orig/ufed.pl >+++ ufed-0.35/ufed.pl >@@ -672,7 +672,8 @@ > #$All = "Make.def : " . join(' ', @make_defaults_flags) . "\n"; > > #Step 2) >- $Results = resolve_flags(join (' ', @make_defaults_flags), >- join (' ', @use_defaults_flags)); >+ $Results = resolve_flags(resolve_flags('', >+ join (' ', @make_defaults_flags)), >+ join (' ', @use_defaults_flags)); > > #$All .= "Use.def : " . join(' ', @use_defaults_flags) . "\n"; Created attachment 43563 [details, diff]
ufed-0.35-checkdefaults.patch
I placed parentheses in the wrong place for the original patch and tried to
correct it. I'll attach the modified and hopefully correct patch in case
there's a problem with spacing copying it from my previous comment. Sorry for
the multiple comments.
0.35-r2 with the patch is in CVS now. |