summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2015-08-24 18:16:01 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2015-08-24 18:16:01 +0000
commit00a3ab4e0312f79ec15ab0c23bc45140b7957e30 (patch)
tree5fd10c6be11e0f31ef71d8a56137a33b1312d41f
parentswitch to upstream git repo (diff)
downloadbicatali-00a3ab4e0312f79ec15ab0c23bc45140b7957e30.tar.gz
bicatali-00a3ab4e0312f79ec15ab0c23bc45140b7957e30.tar.bz2
bicatali-00a3ab4e0312f79ec15ab0c23bc45140b7957e30.zip
fix path for gentoo bash completion
-rw-r--r--net-fs/cvmfs/cvmfs-9999.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/net-fs/cvmfs/cvmfs-9999.ebuild b/net-fs/cvmfs/cvmfs-9999.ebuild
index 5f87cdc..6e832ae 100644
--- a/net-fs/cvmfs/cvmfs-9999.ebuild
+++ b/net-fs/cvmfs/cvmfs-9999.ebuild
@@ -7,7 +7,7 @@ EAPI=5
EGIT_REPO_URI="https://github.com/cvmfs/cvmfs.git"
EGIT_BRANCH="devel"
-inherit cmake-utils linux-info git-r3
+inherit cmake-utils linux-info git-r3 bash-completion-r1
SRC_URI=""
KEYWORDS=""
@@ -72,14 +72,17 @@ pkg_setup() {
src_prepare() {
cmake-utils_src_prepare
- # gentoo stuff
- sed -i -e 's/COPYING//' CMakeLists.txt || die
# this removal avoids all bundled packages to be configured and built
rm bootstrap.sh || die
+ # specific gentoo paths and qa fixes
+ sed -i -e 's/COPYING//' CMakeLists.txt || die
sed -i \
-e "s:cvmfs-\${CernVM-FS_VERSION_STRING}:${PF}:" \
CMakeLists.txt || die
+ sed -i \
+ -e "s:/etc/bash_completion.d:$(get_bashcompdir):" \
+ cvmfs/CMakeLists.txt || die
# hack for bundled vjson and sha2
# vjson and sha2 not worth unbundling upstreams are flaky/dead