Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 391278 Details for
Bug 532050
sys-apps/baselayout-2.2: EAPI bump and Prefix support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
baselayout-prefix.patch
baselayout-2.patch (text/plain), 1.01 KB, created by
Benda Xu
on 2014-12-09 11:26:55 UTC
(
hide
)
Description:
baselayout-prefix.patch
Filename:
MIME Type:
Creator:
Benda Xu
Created:
2014-12-09 11:26:55 UTC
Size:
1.01 KB
patch
obsolete
>Index: baselayout/baselayout-2.2.ebuild >=================================================================== >--- baselayout.orig/baselayout-2.2.ebuild >+++ baselayout/baselayout-2.2.ebuild >@@ -150,6 +150,23 @@ pkg_preinst() { > } > > src_prepare() { >+ if use prefix; then >+ sed -i -r\ >+ -e "/PATH=/!s:/(etc|usr/bin|bin):\"${EPREFIX}\"/\1:g" \ >+ -e "/PATH=/s|([:\"])/|\1${EPREFIX}/|g" \ >+ -e "/PATH=.*\/sbin/s|\"$|:/usr/sbin:/sbin\"|" \ >+ -e "/PATH=.*\/bin/s|\"$|:/usr/bin:/bin\"|" \ >+ etc/profile || die >+ sed -i -r \ >+ -e "s:/(etc/env.d|opt|usr):${EPREFIX}/\1:g" \ >+ -e "/^PATH=/s|\"$|:${EPREFIX}/usr/sbin:${EPREFIX}/sbin\"|" \ >+ etc/env.d/00basic || die >+ sed -i "s:/bin:${EPREFIX}/bin:" etc/shells || die >+ sed -i -r \ >+ -e "s,:/(root|bin|sbin|var|),:${EPREFIX}/\1,g" \ >+ share.Linux/passwd || die >+ fi >+ > # handle multilib paths. do it here because we want this behavior > # regardless of the C library that you're using. we do explicitly > # list paths which the native ldconfig searches, but this isn't
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 532050
:
391276
| 391278