Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 595142 - app-shells/bash: Prefixity hardcoded paths
Summary: app-shells/bash: Prefixity hardcoded paths
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2016-10-03
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: prefix-gx86
  Show dependency tree
 
Reported: 2016-09-26 01:08 UTC by Benda Xu
Modified: 2016-10-25 02:37 UTC (History)
2 users (show)

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


Attachments
bash-4.0-configs-prefix.patch (bash-4.0-configs-prefix.patch,532 bytes, patch)
2016-09-26 01:08 UTC, Benda Xu
Details | Diff
bash.ebuild.patch (bash.patch,1021 bytes, patch)
2016-09-26 01:09 UTC, Benda Xu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benda Xu gentoo-dev 2016-09-26 01:08:09 UTC
Created attachment 447942 [details, diff]
bash-4.0-configs-prefix.patch

Hi, please review the attached patches to prefixify the hardcoded paths.
Comment 1 Benda Xu gentoo-dev 2016-09-26 01:09:47 UTC
Created attachment 447944 [details, diff]
bash.ebuild.patch

Patch for the ebuild.
Comment 2 Benda Xu gentoo-dev 2016-10-24 00:37:17 UTC
In tree, thanks.
Comment 3 Fabian Groffen gentoo-dev 2016-10-24 06:45:10 UTC
@Benda: how does this relate to the prefix version of bash?
Comment 4 Benda Xu gentoo-dev 2016-10-24 07:48:47 UTC
(In reply to Fabian Groffen from comment #3)
> @Benda: how does this relate to the prefix version of bash?

`hprefixify pathnames.h.in` replaces bash-4.0-configs-prefix.patch in Prefix repo.

`doins "$(prefixify_ro "${FILESDIR}"/bashrc)"` replaces 

        # modify the bashrc file for prefix
        pushd "${T}" > /dev/null || die
        cp "${FILESDIR}"/bashrc-r2 .
        epatch "${FILESDIR}"/bashrc-r2-prefix.patch
        eprefixify bashrc-r2
        popd > /dev/null

in bash ebuild of Prefix repo.