summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-07-16 11:03:52 +0200
committerMichał Górny <mgorny@gentoo.org>2013-07-16 11:03:52 +0200
commit14e46eeaee7facf1a719380742fde2395547bcc3 (patch)
tree71e9e3316015a58c3bde6731b63dfa5a675ade44 /dev-libs
parentUpdate multilib blocker and libffi dep. (diff)
downloadmgorny-14e46eeaee7facf1a719380742fde2395547bcc3.tar.gz
mgorny-14e46eeaee7facf1a719380742fde2395547bcc3.tar.bz2
mgorny-14e46eeaee7facf1a719380742fde2395547bcc3.zip
dev-libs/libcopyfile: Update for the btrfs support.
Package-Manager: portage-2.2.0_alpha188
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libcopyfile/libcopyfile-9999.ebuild5
-rw-r--r--dev-libs/libcopyfile/metadata.xml3
2 files changed, 7 insertions, 1 deletions
diff --git a/dev-libs/libcopyfile/libcopyfile-9999.ebuild b/dev-libs/libcopyfile/libcopyfile-9999.ebuild
index 51d9d4c..2ddcca3 100644
--- a/dev-libs/libcopyfile/libcopyfile-9999.ebuild
+++ b/dev-libs/libcopyfile/libcopyfile-9999.ebuild
@@ -20,11 +20,13 @@ SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="acl caps debug static-libs xattr"
+IUSE="acl btrfs caps debug static-libs xattr"
+# USE=btrfs needs btrfs/ioctl.h only
RDEPEND="acl? ( virtual/acl )
caps? ( sys-libs/libcap )"
DEPEND="${RDEPEND}
+ btrfs? ( >=sys-fs/btrfs-progs-9999 )
virtual/pkgconfig"
#if LIVE
@@ -35,6 +37,7 @@ SRC_URI=
src_configure() {
myeconfargs=(
$(use_enable acl)
+ $(use_enable btrfs)
$(use_enable caps cap)
$(use_enable debug)
$(use_enable xattr)
diff --git a/dev-libs/libcopyfile/metadata.xml b/dev-libs/libcopyfile/metadata.xml
index 335d634..19f297f 100644
--- a/dev-libs/libcopyfile/metadata.xml
+++ b/dev-libs/libcopyfile/metadata.xml
@@ -5,6 +5,9 @@
<email>mgorny@gentoo.org</email>
<name>Michał Górny</name>
</maintainer>
+ <use>
+ <flag name='btrfs'>Support Copy-on-Write on btrfs volumes</flag>
+ </use>
<upstream>
<maintainer status="active">
<email>mgorny@gentoo.org</email>