From 3b07a5caca4500eeb98e1b84bb4c84f179f74dde Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Tue, 25 Jun 2013 16:37:22 +0000 Subject: set AS to yasm based on CHOST which seems to be the sanest to do, bug #345161 (Portage version: 2.2.0_alpha185/cvs/Linux x86_64, signed Manifest commit with key 160F534A) --- media-libs/libvpx/ChangeLog | 5 ++++- media-libs/libvpx/libvpx-9999.ebuild | 10 +++++----- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'media-libs') diff --git a/media-libs/libvpx/ChangeLog b/media-libs/libvpx/ChangeLog index 9219ce5c417f..83f124352cc7 100644 --- a/media-libs/libvpx/ChangeLog +++ b/media-libs/libvpx/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/libvpx # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libvpx/ChangeLog,v 1.81 2013/06/25 16:30:10 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libvpx/ChangeLog,v 1.82 2013/06/25 16:37:22 aballier Exp $ + + 25 Jun 2013; Alexis Ballier libvpx-9999.ebuild: + set AS to yasm based on CHOST which seems to be the sanest to do, bug #345161 25 Jun 2013; Alexis Ballier -libvpx-0.9.6.ebuild, -libvpx-0.9.7.ebuild, -libvpx-0.9.7-r1.ebuild, -libvpx-1.0.0.ebuild, diff --git a/media-libs/libvpx/libvpx-9999.ebuild b/media-libs/libvpx/libvpx-9999.ebuild index 84cae7ee460c..a76803399b0f 100644 --- a/media-libs/libvpx/libvpx-9999.ebuild +++ b/media-libs/libvpx/libvpx-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libvpx/libvpx-9999.ebuild,v 1.32 2013/06/25 16:26:41 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libvpx/libvpx-9999.ebuild,v 1.33 2013/06/25 16:37:22 aballier Exp $ EAPI=4 inherit multilib toolchain-funcs flag-o-matic multilib-minimal @@ -47,11 +47,11 @@ multilib_src_configure() { # let the build system decide which AS to use (it honours $AS but # then feeds it with yasm flags without checking...) #345161 - local a tc-export AS - for a in {amd64,x86}{,-{fbsd,linux}} ; do - use ${a} && unset AS - done + case "${CHOST}" in + i?86*) export AS=yasm;; + x86_64*) export AS=yasm;; + esac # build verbose by default MAKEOPTS="${MAKEOPTS} verbose=yes" -- cgit v1.2.3-65-gdbad