Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 535942 - app-shells/bash-completion-2.1_p20141224 should install /etc/bash/bashrc.d in $EPREFIX
Summary: app-shells/bash-completion-2.1_p20141224 should install /etc/bash/bashrc.d in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-01-07 15:13 UTC by Guilherme Amadio
Modified: 2015-02-09 22:39 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guilherme Amadio gentoo-dev 2015-01-07 15:13:35 UTC
bash-completion tries to install some files outside the prefix.
The patch below fixes the problem.

--- bash-completion-2.1_p20141224.ebuild        2014-12-23 21:53:25.000000000 -0200
+++ bash-completion-2.1_p20141224.ebuild.prefix 2015-01-07 12:56:19.506356581 -0200
@@ -49,7 +49,7 @@
        # work-around race conditions, bug #526996
        mkdir -p "${ED}"/usr/share/bash-completion/{completions,helpers} || die
 
-       emake DESTDIR="${D}" profiledir=/etc/bash/bashrc.d install
+       emake DESTDIR="${D}" profiledir="${EPREFIX}"/etc/bash/bashrc.d install
 
        local file
        for file in "${STRIP_COMPLETIONS[@]}"; do
Comment 1 Guilherme Amadio gentoo-dev 2015-02-09 22:39:21 UTC
I commited the change above to the tree.