Diff rsync-3.2.3-r2 with a rsync-9999

/usr/portage/net-misc/rsync/rsync-9999.ebuild 2021-04-30 14:39:00.000000000 +0300
3 3

  
4 4
EAPI=7
5 5

  
6
inherit prefix systemd
6
inherit prefix systemd toolchain-funcs
7 7

  
8 8
DESCRIPTION="File transfer program to keep remote files into sync"
9 9
HOMEPAGE="https://rsync.samba.org/"
......
16 16
		SRC_DIR="src-previews"
17 17
	else
18 18
		SRC_DIR="src"
19
		KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
19
		KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
20 20
	fi
21 21
	SRC_URI="https://rsync.samba.org/ftp/rsync/${SRC_DIR}/${P/_/}.tar.gz"
22 22
	S="${WORKDIR}/${P/_/}"
......
24 24

  
25 25
LICENSE="GPL-3"
26 26
SLOT="0"
27
IUSE_CPU_FLAGS_X86=" sse2"
28 27
IUSE="acl examples iconv ipv6 lz4 ssl stunnel system-zlib xattr xxhash zstd"
29
IUSE+=" ${IUSE_CPU_FLAGS_X86// / cpu_flags_x86_}"
30 28

  
31 29
RDEPEND="acl? ( virtual/acl )
32 30
	lz4? ( app-arch/lz4 )
......
75 73
		$(use_enable zstd)
76 74
	)
77 75

  
78
	if use elibc_glibc && [[ "${ARCH}" == "amd64" ]] ; then
79
		# SIMD is only available for x86_64 right now
80
		# and only on glibc (#728868)
81
		myeconfargs+=( $(use_enable cpu_flags_x86_sse2 simd) )
82
	else
76
	if tc-is-cross-compiler; then
77
		# configure check is broken when cross-compiling.
83 78
		myeconfargs+=( --disable-simd )
84 79
	fi
85 80

  
Thank you!