From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-862130-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 4E04B58973
	for <garchives@archives.gentoo.org>; Mon,  8 Feb 2016 23:44:29 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 087D121C00C;
	Mon,  8 Feb 2016 23:44:28 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 8CB8121C00C
	for <gentoo-commits@lists.gentoo.org>; Mon,  8 Feb 2016 23:44:27 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 861F934092D
	for <gentoo-commits@lists.gentoo.org>; Mon,  8 Feb 2016 23:44:26 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 456A77C7
	for <gentoo-commits@lists.gentoo.org>; Mon,  8 Feb 2016 23:44:23 +0000 (UTC)
From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" <vapier@gentoo.org>
Message-ID: <1454974940.5ce6a8a3b588eadfcf4c0f67e207b0fede31b0e9.vapier@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/mdadm/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-fs/mdadm/mdadm-3.4.ebuild
X-VCS-Directories: sys-fs/mdadm/
X-VCS-Committer: vapier
X-VCS-Committer-Name: Mike Frysinger
X-VCS-Revision: 5ce6a8a3b588eadfcf4c0f67e207b0fede31b0e9
X-VCS-Branch: master
Date: Mon,  8 Feb 2016 23:44:23 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 38d9ae19-b436-46d8-aa8c-bc55334f9ef8
X-Archives-Hash: a798c26f33372ec3d1678998ce98fb16

commit:     5ce6a8a3b588eadfcf4c0f67e207b0fede31b0e9
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  8 23:42:09 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Mon Feb  8 23:42:20 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ce6a8a3

sys-fs/mdadm: disable corosync & libdlm autodetection #573782

 sys-fs/mdadm/mdadm-3.4.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-fs/mdadm/mdadm-3.4.ebuild b/sys-fs/mdadm/mdadm-3.4.ebuild
index 88431e1..a4aff3e 100644
--- a/sys-fs/mdadm/mdadm-3.4.ebuild
+++ b/sys-fs/mdadm/mdadm-3.4.ebuild
@@ -25,6 +25,7 @@ RDEPEND=">=sys-apps/util-linux-2.16"
 RESTRICT="test"
 
 mdadm_emake() {
+	# We should probably make corosync & libdlm into USE flags. #573782
 	emake \
 		PKG_CONFIG="$(tc-getPKG_CONFIG)" \
 		CC="$(tc-getCC)" \
@@ -32,6 +33,8 @@ mdadm_emake() {
 		CXFLAGS="${CFLAGS}" \
 		UDEVDIR="$(get_udevdir)" \
 		SYSTEMD_DIR="$(systemd_get_unitdir)" \
+		COROSYNC="-DNO_COROSYNC" \
+		DLM="-DNO_DLM" \
 		"$@"
 }