Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 324240 Details for
Bug 434672
app-portage/ufed should look for make.* in new location: /etc/portage
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to let ufed look into /etc/portage/make.conf first
ufed-0.40.1-add-portage-subdir-to-ufed.patch (text/plain), 1.57 KB, created by
Sven Eden
on 2012-09-18 19:54:22 UTC
(
hide
)
Description:
Patch to let ufed look into /etc/portage/make.conf first
Filename:
MIME Type:
Creator:
Sven Eden
Created:
2012-09-18 19:54:22 UTC
Size:
1.57 KB
patch
obsolete
>--- ufed 2012-08-18 00:24:07.000000000 +0200 >+++ ufed 2012-09-18 21:46:38.366844844 +0200 >@@ -29,7 +29,7 @@ > @{$use_descriptions{$_}} = "(Unknown)" > if not exists $use_descriptions{$_}; > } >-@{$use_descriptions{'-*'}} = 'Never enable any flags other than those specified in /etc/make.conf'; >+@{$use_descriptions{'-*'}} = 'Never enable any flags other than those specified in /etc/[portage/]make.conf'; > > for(@Portage::archs) { > delete $Portage::default_flags{$_}; >@@ -155,10 +155,11 @@ > > my (@flags) = @_; > my $contents; >+ my $makeconfname = ( -e '/etc/portage/make.conf' ) ? '/etc/portage/make.conf' : '/etc/make.conf'; > > { >- open my $makeconf, '<', '/etc/make.conf' or die "Couldn't open /etc/make.conf\n"; >- open my $makeconfold, '>', '/etc/make.conf.old' or die "Couldn't open /etc/make.conf.old\n"; >+ open my $makeconf, '<', $makeconfname or die "Couldn't open $makeconfname\n"; >+ open my $makeconfold, '>', "${makeconfname}.old" or die "Couldn't open ${makeconfname}.old\n"; > local $/; > $_ = <$makeconf>; > print $makeconfold $_; >@@ -293,11 +294,11 @@ > die "Parse error when writing make.conf - did you modify it while ufed was running?\n" if $@; > > print STDERR <<EOF if $sourcing; >-Warning: source command found in /etc/make.conf. Flags may >+Warning: source command found in ${makeconfname}. Flags may > be saved incorrectly if the sourced file modifies them. > EOF > { >- open my $makeconf, '>', '/etc/make.conf' or die "Couldn't open /etc/make.conf\n"; >+ open my $makeconf, '>', $makeconfname or die "Couldn't open $makeconfname\n"; > print $makeconf $_; > close $makeconf; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 434672
:
324238
|
324240
|
324410
|
324412
|
324422
|
324424
|
324748
|
325674
|
326628
|
326630
|
326632