diff options
author | Piotr Karbowski <slashbeast@gentoo.org> | 2019-12-10 10:17:10 +0100 |
---|---|---|
committer | Piotr Karbowski <slashbeast@gentoo.org> | 2019-12-10 10:20:40 +0100 |
commit | 3ad7355ec93b413d50553d69faaa861c19874a27 (patch) | |
tree | 691721b7ce54a4800d50c31c8315326324a19b0a /sys-fs/mergerfs | |
parent | sys-apps/dstat: ppc stable wrt bug #700862 (diff) | |
download | gentoo-3ad7355ec93b413d50553d69faaa861c19874a27.tar.gz gentoo-3ad7355ec93b413d50553d69faaa861c19874a27.tar.bz2 gentoo-3ad7355ec93b413d50553d69faaa861c19874a27.zip |
sys-fs/mergerfs-2.28.3-r1: make xattr opt-out.
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'sys-fs/mergerfs')
-rw-r--r-- | sys-fs/mergerfs/mergerfs-2.28.3-r1.ebuild (renamed from sys-fs/mergerfs/mergerfs-2.28.3.ebuild) | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/sys-fs/mergerfs/mergerfs-2.28.3.ebuild b/sys-fs/mergerfs/mergerfs-2.28.3-r1.ebuild index dbf35a85d899..56299cde8e1d 100644 --- a/sys-fs/mergerfs/mergerfs-2.28.3.ebuild +++ b/sys-fs/mergerfs/mergerfs-2.28.3-r1.ebuild @@ -12,15 +12,15 @@ KEYWORDS="~amd64 ~x86" # Vendorized libfuse that's bundled is under LGPL-2.1. LICENSE="ISC LGPL-2.1" SLOT="0" -IUSE="" +IUSE="+xattr" -RDEPEND=" - sys-apps/attr - sys-apps/util-linux - sys-devel/gettext +DEPEND=" + xattr? ( sys-apps/attr ) " -DEPEND="${RDEPEND}" +RDEPEND="${DEPEND}" + +BDEPEND="sys-devel/gettext" src_prepare() { default @@ -32,6 +32,10 @@ src_prepare() { echo -e "#!/bin/sh\ntrue" >tools/update-version echo "#pragma once" >src/version.hpp echo "static const char MERGERFS_VERSION[] = \"${PV}\";" >>src/version.hpp + + if ! use xattr; then + sed 's%USE_XATTR = 1%USE_XATTR = 0%g' -i Makefile + fi } src_install() { |