From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev+bounces-57989-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 24C611386BE
	for <garchives@archives.gentoo.org>; Sat, 26 Jan 2013 22:10:52 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D1D3221C072;
	Sat, 26 Jan 2013 22:08:28 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C2A7221C06F
	for <gentoo-dev@lists.gentoo.org>; Sat, 26 Jan 2013 22:08:27 +0000 (UTC)
Received: from pomiocik.lan (159-205-85-177.adsl.inetia.pl [159.205.85.177])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	(Authenticated sender: mgorny)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 7F3C033DBBB;
	Sat, 26 Jan 2013 22:08:25 +0000 (UTC)
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: amd64@gentoo.org,
	releng@gentoo.org,
	x11@gentoo.org,
	=?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Subject: [gentoo-dev] [PATCH 5/5] Unmask and force the abi_x86_32 for uniform binary dependencies.
Date: Sat, 26 Jan 2013 23:08:16 +0100
Message-Id: <1359238096-13232-6-git-send-email-mgorny@gentoo.org>
X-Mailer: git-send-email 1.8.1.1
In-Reply-To: <1359238096-13232-1-git-send-email-mgorny@gentoo.org>
References: <1359238096-13232-1-git-send-email-mgorny@gentoo.org>
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Archives-Salt: 8cce5b76-4231-49b6-8950-ceace3ce88d3
X-Archives-Hash: 336eae4e9a74223560f741a9de8b4fbb

For example, net-im/skype would depend on:

	dev-libs/libfoo[abi_x86_32]

and that dependency would be valid both for amd64 multilib & x86.
---
 gx86/profiles/arch/x86/use.force | 5 +++++
 gx86/profiles/arch/x86/use.mask  | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/gx86/profiles/arch/x86/use.force b/gx86/profiles/arch/x86/use.force
index 049e7af..1f18bb0 100644
--- a/gx86/profiles/arch/x86/use.force
+++ b/gx86/profiles/arch/x86/use.force
@@ -1,2 +1,7 @@
 # Force the flag which corresponds to ARCH.
 x86
+
+# Michał Górny <mgorny@gentoo.org> (26 Jan 2013)
+# Force the flag corresponding to the only ABI. This allows x86 binary
+# packages to have uniform dependencies for amd64-multilib & x86.
+abi_x86_32
diff --git a/gx86/profiles/arch/x86/use.mask b/gx86/profiles/arch/x86/use.mask
index b342b71..97057ad 100644
--- a/gx86/profiles/arch/x86/use.mask
+++ b/gx86/profiles/arch/x86/use.mask
@@ -170,3 +170,8 @@ win64
 
 # fdk-aac is already keyworded here
 -fdk
+
+# Michał Górny <mgorny@gentoo.org> (26 Jan 2013)
+# Unmask the flag corresponding to the only ABI. This allows x86 binary
+# packages to have uniform dependencies for amd64-multilib & x86.
+abi_x86_32
-- 
1.8.1.1