summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2012-08-13 16:43:27 +0000
committerMatt Turner <mattst88@gentoo.org>2012-08-13 16:43:27 +0000
commitb98b622f706ea9ef74686805793e4c60da9f6b98 (patch)
treea949ba58483cf433a2d88402c91ae245a68afffc /media-libs/libtxc_dxtn
parentDepend on mono-addins[gtk] (bug #431188) (diff)
downloadgentoo-2-b98b622f706ea9ef74686805793e4c60da9f6b98.tar.gz
gentoo-2-b98b622f706ea9ef74686805793e4c60da9f6b98.tar.bz2
gentoo-2-b98b622f706ea9ef74686805793e4c60da9f6b98.zip
Add multilib USE flag, bug #431216. Thanks to Peter Alfredsen.
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libtxc_dxtn')
-rw-r--r--media-libs/libtxc_dxtn/ChangeLog5
-rw-r--r--media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1.ebuild19
2 files changed, 15 insertions, 9 deletions
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 <mattst88@gentoo.org> libtxc_dxtn-1.0.1.ebuild:
+ Add multilib USE flag, bug #431216. Thanks to Peter Alfredsen.
11 Aug 2012; Matt Turner <mattst88@gentoo.org> 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() {