media-libs/openh264: Restrict nasm dep to x86 ABIs which are the only one needing it.
authorAlexis Ballier <aballier@gentoo.org>
Tue, 31 Jan 2017 14:11:25 +0000 (15:11 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 31 Jan 2017 14:11:25 +0000 (15:11 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

media-libs/openh264/openh264-1.5.0.ebuild

index 335507477729cac6ef593d33e2ec459c2f8169ea..b7629073b15a1abe4e8013f9f50de3ad029793fb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -19,7 +19,9 @@ IUSE="+plugin utils"
 RESTRICT="bindist"
 
 RDEPEND="!<www-client/firefox-${MOZVER}"
-DEPEND="dev-lang/nasm"
+DEPEND="
+       abi_x86_32? ( dev-lang/nasm )
+       abi_x86_64? ( dev-lang/nasm )"
 
 DOCS=( LICENSE CONTRIBUTORS README.md )