summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <sebfabbro@gmail.com>2015-11-10 15:04:55 -0800
committerSébastien Fabbro <sebfabbro@gmail.com>2015-11-10 15:04:55 -0800
commit947d8ff2e04ce14ca78d740978acccb9fb4d7b20 (patch)
tree8127c9a27cef3b8774b89631c22c726eac19fc76
parentfix path for gentoo bash completion (diff)
downloadbicatali-947d8ff2e04ce14ca78d740978acccb9fb4d7b20.tar.gz
bicatali-947d8ff2e04ce14ca78d740978acccb9fb4d7b20.tar.bz2
bicatali-947d8ff2e04ce14ca78d740978acccb9fb4d7b20.zip
adding sha3 bundle
-rw-r--r--net-fs/cvmfs/cvmfs-9999.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/net-fs/cvmfs/cvmfs-9999.ebuild b/net-fs/cvmfs/cvmfs-9999.ebuild
index 6e832ae..859dddb 100644
--- a/net-fs/cvmfs/cvmfs-9999.ebuild
+++ b/net-fs/cvmfs/cvmfs-9999.ebuild
@@ -84,21 +84,22 @@ src_prepare() {
-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
+ # hack for bundled packages
+ # not worth unbundling upstreams are flaky/dead
local pkg
- for pkg in vjson sha2; do
+ for pkg in vjson sha2 sha3; do
# respect toolchain variables
sed -i \
-e 's/g++/$(CXX)/g' \
-e 's/gcc/$(CC)/g' \
+ -e 's/CFLAGS/MYCFLAGS/g' \
-e 's/-O2/$(CFLAGS)/g' \
-e 's/-O2/$(CXXFLAGS)/g' \
-e 's/ar/$(AR)/' \
-e 's/ranlib/$(RANLIB)/' \
externals/${pkg}/src/Makefile || die
mkdir -p "${WORKDIR}/${P}_build"/externals/build_${pkg}
- cp externals/${pkg}/src/* \
+ cp -r externals/${pkg}/src/* \
"${WORKDIR}/${P}_build"/externals/build_${pkg}/ || die
done
}