summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Karbowski <slashbeast@gentoo.org>2019-12-10 10:53:40 +0100
committerPiotr Karbowski <slashbeast@gentoo.org>2019-12-10 10:54:16 +0100
commit545a598fa6398afa16ca88b539b7e3c4fc3a8882 (patch)
tree55b2c771233751c3738eb08c19201a4e171751cb /sys-fs/mergerfs/mergerfs-2.28.3-r1.ebuild
parentdev-libs/dmalloc: x86 stable wrt bug #702404 (diff)
downloadgentoo-545a598fa6398afa16ca88b539b7e3c4fc3a8882.tar.gz
gentoo-545a598fa6398afa16ca88b539b7e3c4fc3a8882.tar.bz2
gentoo-545a598fa6398afa16ca88b539b7e3c4fc3a8882.zip
sys-fs/mergerfs-2.28.3-r1: tidy
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'sys-fs/mergerfs/mergerfs-2.28.3-r1.ebuild')
-rw-r--r--sys-fs/mergerfs/mergerfs-2.28.3-r1.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys-fs/mergerfs/mergerfs-2.28.3-r1.ebuild b/sys-fs/mergerfs/mergerfs-2.28.3-r1.ebuild
index 56299cde8e1d..00bac72e756f 100644
--- a/sys-fs/mergerfs/mergerfs-2.28.3-r1.ebuild
+++ b/sys-fs/mergerfs/mergerfs-2.28.3-r1.ebuild
@@ -26,15 +26,15 @@ src_prepare() {
default
# drop -O2 from those handmade Makefiles.
- sed -r '/^OPTS[ \t]*=/d' -i Makefile
+ sed -r '/^OPTS[ \t]*=/d' -i Makefile || die
# Hand made build system at it's finest.
- echo -e "#!/bin/sh\ntrue" >tools/update-version
- echo "#pragma once" >src/version.hpp
- echo "static const char MERGERFS_VERSION[] = \"${PV}\";" >>src/version.hpp
+ echo -e "#!/bin/sh\ntrue" >tools/update-version || die
+ echo "#pragma once" >src/version.hpp || die
+ echo "static const char MERGERFS_VERSION[] = \"${PV}\";" >>src/version.hpp || die
if ! use xattr; then
- sed 's%USE_XATTR = 1%USE_XATTR = 0%g' -i Makefile
+ sed 's%USE_XATTR = 1%USE_XATTR = 0%g' -i Makefile || die
fi
}