commit: eced857ed9e46527da0466762e27e9602c312237 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Fri Jun 16 09:03:58 2017 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Fri Jun 16 09:36:29 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eced857e
media-libs/x265: convert to cpu_flags_arm Package-Manager: Portage-2.3.6, Repoman-2.3.2 media-libs/x265/x265-2.4.ebuild | 6 +++--- media-libs/x265/x265-9999.ebuild | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/media-libs/x265/x265-2.4.ebuild b/media-libs/x265/x265-2.4.ebuild index 8e49624f425..9aa6aafc30d 100644 --- a/media-libs/x265/x265-2.4.ebuild +++ b/media-libs/x265/x265-2.4.ebuild @@ -21,7 +21,7 @@ HOMEPAGE="http://x265.org/" LICENSE="GPL-2" # subslot = libx265 soname SLOT="0/116" -IUSE="+10bit +12bit neon numa pic power8 test" +IUSE="+10bit +12bit cpu_flags_arm_neon numa pic power8 test" ASM_DEPEND=">=dev-lang/yasm-1.2.0" RDEPEND="numa? ( >=sys-process/numactl-2.0.10-r1[${MULTILIB_USEDEP}] )" @@ -158,8 +158,8 @@ multilib_src_configure() { # bug #510890 myabicmakeargs+=( -DENABLE_ASSEMBLY=OFF ) elif [[ ${ABI} = arm ]] ; then - myabicmakeargs+=( -DENABLE_ASSEMBLY=$(usex pic OFF $(usex neon ON OFF)) ) - use neon && use pic && ewarn "PIC has been requested but arm neon asm is not PIC-safe, disabling it." + myabicmakeargs+=( -DENABLE_ASSEMBLY=$(usex pic OFF $(usex cpu_flags_arm_neon ON OFF)) ) + use cpu_flags_arm_neon && use pic && ewarn "PIC has been requested but arm neon asm is not PIC-safe, disabling it." fi local MULTIBUILD_VARIANTS=( $(x265_get_variants) ) diff --git a/media-libs/x265/x265-9999.ebuild b/media-libs/x265/x265-9999.ebuild index 8e49624f425..9aa6aafc30d 100644 --- a/media-libs/x265/x265-9999.ebuild +++ b/media-libs/x265/x265-9999.ebuild @@ -21,7 +21,7 @@ HOMEPAGE="http://x265.org/" LICENSE="GPL-2" # subslot = libx265 soname SLOT="0/116" -IUSE="+10bit +12bit neon numa pic power8 test" +IUSE="+10bit +12bit cpu_flags_arm_neon numa pic power8 test" ASM_DEPEND=">=dev-lang/yasm-1.2.0" RDEPEND="numa? ( >=sys-process/numactl-2.0.10-r1[${MULTILIB_USEDEP}] )" @@ -158,8 +158,8 @@ multilib_src_configure() { # bug #510890 myabicmakeargs+=( -DENABLE_ASSEMBLY=OFF ) elif [[ ${ABI} = arm ]] ; then - myabicmakeargs+=( -DENABLE_ASSEMBLY=$(usex pic OFF $(usex neon ON OFF)) ) - use neon && use pic && ewarn "PIC has been requested but arm neon asm is not PIC-safe, disabling it." + myabicmakeargs+=( -DENABLE_ASSEMBLY=$(usex pic OFF $(usex cpu_flags_arm_neon ON OFF)) ) + use cpu_flags_arm_neon && use pic && ewarn "PIC has been requested but arm neon asm is not PIC-safe, disabling it." fi local MULTIBUILD_VARIANTS=( $(x265_get_variants) )
