diff options
author | Viorel Munteanu <ceamac.paragon@gmail.com> | 2021-03-09 17:28:24 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-03-12 13:29:06 +0200 |
commit | 1dcb25a3e47356caf0b4c8899e98a2b77439ada9 (patch) | |
tree | c8465fba2448049c3333f9cf410164bb7c1acbcc /app-backup | |
parent | dev-libs/libthreadar: add this library (diff) | |
download | gentoo-1dcb25a3e47356caf0b4c8899e98a2b77439ada9.tar.gz gentoo-1dcb25a3e47356caf0b4c8899e98a2b77439ada9.tar.bz2 gentoo-1dcb25a3e47356caf0b4c8899e98a2b77439ada9.zip |
app-backup/dar: add support for threads
Add USE flag "threads" to link with `dev-libs/libthreaddar`
Mask USE flag "threads" for all arches except ~amd64
Closes: https://bugs.gentoo.org/686278
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-backup')
-rw-r--r-- | app-backup/dar/dar-2.6.13-r1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app-backup/dar/dar-2.6.13-r1.ebuild b/app-backup/dar/dar-2.6.13-r1.ebuild index d082367d6a58..26ec6a279bb6 100644 --- a/app-backup/dar/dar-2.6.13-r1.ebuild +++ b/app-backup/dar/dar-2.6.13-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/dar/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux" -IUSE="curl dar32 dar64 doc gcrypt gpg lzo nls rsync xattr" +IUSE="curl dar32 dar64 doc gcrypt gpg lzo nls rsync threads xattr" RESTRICT="test" # need to be run as root @@ -26,6 +26,7 @@ RDEPEND=" gpg? ( app-crypt/gpgme ) lzo? ( dev-libs/lzo:= ) rsync? ( net-libs/librsync:= ) + threads? ( dev-libs/libthreadar:= ) xattr? ( sys-apps/attr:= ) " @@ -66,6 +67,7 @@ src_configure() { $(usex lzo '' --disable-liblzo2-linking) $(usex nls '' --disable-nls) $(usex rsync '' --disable-librsync-linking) + $(usex threads '' --disable-threadar) $(usex xattr '' --disable-ea-support) ) |