Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 391322 Details for
Bug 532100
Prefix Portage: call ldconfig when necessary
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
portage-prefix-ldconfig.patch
portage-prefix-ldconfig.patch (text/plain), 1.11 KB, created by
Benda Xu
on 2014-12-10 01:53:59 UTC
(
hide
)
Description:
portage-prefix-ldconfig.patch
Filename:
MIME Type:
Creator:
Benda Xu
Created:
2014-12-10 01:53:59 UTC
Size:
1.11 KB
patch
obsolete
>commit 3fb24230a2369513b1f36cba3d772bc517265e81 >Author: Benda Xu <heroxbd@gentoo.org> >Date: Wed Dec 10 10:45:31 2014 +0900 > > In Prefix, let env-update call ldconfig if it exists. > > It does not affect prefix-rpath, and handles prefix-libc(RAP) correctly. > >diff --git a/pym/portage/util/env_update.py b/pym/portage/util/env_update.py >index ace492c..4437881 100644 >--- a/pym/portage/util/env_update.py >+++ b/pym/portage/util/env_update.py >@@ -306,13 +306,13 @@ def _env_update(makelinks, target_root, prev_mtimes, contents, env, > if not libdir_contents_changed: > makelinks = False > >- ldconfig = "/sbin/ldconfig" >+ ldconfig = eprefix + "/sbin/ldconfig" > if "CHOST" in settings and "CBUILD" in settings and \ > settings["CHOST"] != settings["CBUILD"]: > ldconfig = find_binary("%s-ldconfig" % settings["CHOST"]) > > # Only run ldconfig as needed >- if makelinks and ldconfig and not eprefix: >+ if makelinks and ldconfig: > # ldconfig has very different behaviour between FreeBSD and Linux > if ostype == "Linux" or ostype.lower().endswith("gnu"): > # We can't update links if we haven't cleaned other versions first, as
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 532100
:
391320
|
391322
|
393208
|
438066
|
449598
|
459004