From b98b622f706ea9ef74686805793e4c60da9f6b98 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 13 Aug 2012 16:43:27 +0000 Subject: Add multilib USE flag, bug #431216. Thanks to Peter Alfredsen. (Portage version: 2.1.11.9/cvs/Linux x86_64) --- media-libs/libtxc_dxtn/ChangeLog | 5 ++++- media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1.ebuild | 19 +++++++++++-------- 2 files changed, 15 insertions(+), 9 deletions(-) (limited to 'media-libs') diff --git a/media-libs/libtxc_dxtn/ChangeLog b/media-libs/libtxc_dxtn/ChangeLog index 76c362680964..1ea5b5121f65 100644 --- a/media-libs/libtxc_dxtn/ChangeLog +++ b/media-libs/libtxc_dxtn/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/libtxc_dxtn # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libtxc_dxtn/ChangeLog,v 1.7 2012/08/11 17:19:59 mattst88 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libtxc_dxtn/ChangeLog,v 1.8 2012/08/13 16:43:27 mattst88 Exp $ + + 13 Aug 2012; Matt Turner libtxc_dxtn-1.0.1.ebuild: + Add multilib USE flag, bug #431216. Thanks to Peter Alfredsen. 11 Aug 2012; Matt Turner libtxc_dxtn-1.0.1.ebuild: Added ~ppc ~ppc64 per user report, bug 410201. diff --git a/media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1.ebuild b/media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1.ebuild index 1742253f825a..4f6adf594bd5 100644 --- a/media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1.ebuild +++ b/media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1.ebuild,v 1.7 2012/08/11 17:19:59 mattst88 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1.ebuild,v 1.8 2012/08/13 16:43:27 mattst88 Exp $ EAPI=4 @@ -13,7 +13,7 @@ SRC_URI="http://people.freedesktop.org/~cbrill/${PN}/${P}.tar.bz2" LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ~ppc ~ppc64 x86" -IUSE="" +IUSE="multilib" RDEPEND="media-libs/mesa" DEPEND="${RDEPEND}" @@ -21,12 +21,15 @@ DEPEND="${RDEPEND}" RESTRICT="bindist" foreachabi() { - local ABI - - for ABI in $(get_all_abis); do - multilib_toolchain_setup ${ABI} - AUTOTOOLS_BUILD_DIR=${WORKDIR}/${ABI} "${@}" - done + if use multilib; then + local ABI + for ABI in $(get_all_abis); do + multilib_toolchain_setup ${ABI} + AUTOTOOLS_BUILD_DIR=${WORKDIR}/${ABI} "${@}" + done + else + "${@}" + fi } src_configure() { -- cgit v1.2.3-65-gdbad